Skip to content

Commit

Permalink
rem to em
Browse files Browse the repository at this point in the history
  • Loading branch information
ricoloic authored Dec 13, 2021
1 parent 76f3848 commit 6134224
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ h3 {
}
}

@media screen and (min-width: 38rem) {
@media screen and (min-width: 38em) {
.testimonial-grid {
grid-template-areas:
'one one'
Expand All @@ -202,7 +202,7 @@ h3 {
}
}

@media screen and (min-width: 54rem) {
@media screen and (min-width: 54em) {
.testimonial-grid {
grid-template-areas:
"one one two"
Expand All @@ -211,7 +211,7 @@ h3 {
}
}

@media screen and (min-width: 75rem) {
@media screen and (min-width: 75em) {
.testimonial-grid {
grid-template-areas:
"one one two five"
Expand Down

1 comment on commit 6134224

@vikramvi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ricoloic can you please clarify why did you use em in @media query ?

Please sign in to comment.