px to rem in media query

This commit is contained in:
unknown 2022-12-17 23:21:46 +07:00
parent 3abb03129e
commit 6aaedbcf49

View file

@ -62,8 +62,8 @@ h2 {
}
.__body {
width: 100%;
height: 100%;
width: 100%;
}
.__body textarea {
@ -120,13 +120,13 @@ h2 {
}
}
@media (max-width: 460px) {
@media (max-width: 28.75rem) {
html {
font-size: calc(1rem - 8%);
}
}
@media (max-width: 320px) {
@media (max-width: 20rem) {
html {
font-size: calc(1rem - 12%);
}