register.html - Optimize CSS code to reduce the number of lines

This commit is contained in:
Matthew Patrick 2021-09-15 21:52:50 +07:00
parent 158f0fe220
commit d276cf044f

View file

@ -70,71 +70,47 @@
}
@media screen and (max-width: 425px) {
.card a {
font-size: 3vw;
}
.card input {
.card a, input {
font-size: 3vw;
}
.card-header {
font-size: 6vw;
}
}
@media screen and (min-width: 426px) {
.card a {
font-size: 2vw;
}
.card input {
.card a, input {
font-size: 2vw;
}
.card-header {
font-size: 5vw;
}
}
@media screen and (min-width: 767px) {
.card a {
font-size: 2vw;
}
.card input {
.card a, input {
font-size: 2vw;
}
.card-header {
font-size: 4vw;
}
}
@media screen and (min-width: 993px) {
.card a {
font-size: 1vw;
}
.card input {
.card a, input {
font-size: 1vw;
}
.card-header {
font-size: 2.5vw;
}
}
@media screen and (min-width: 1400px) {
.card a {
font-size: 1vw;
}
.card input {
.card a, input {
font-size: 1vw;
}