I am trying to mix both min width and max width media queries like so:
@media only screen and (max-width: 768px) {
.navibar li a {
font-size: 8px !important;
}
}
@media only screen and (max-width: 1300px) {
.navibar li a {
font-size: 2px !important;
}
}
@media only screen and (min-width: 1301px) {
.navibar li a {
font-size: 1rem !important;
}
}
When hitting the 1300px the font size changes to 2px, but never hits the 768px media query. Why is this?