I have implemented a responsive design approach with the following CSS code:
@media all and (max-width:799px){
.bigFont{ font-size: 28px; }
}
@media all and (min-width:800px){
.bigFont{ font-size: 48px; }
}
If I want to modify the font size using jQuery like this:
$(.bigFont).css("font-size", "30px");
It will adjust the font size in both media queries.
So, my query is how can I change the font size of bigFont for only one of them using jQuery?