My CSS code is as follows:
@media screen and (max-width :300px) {
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
float: left;
text-decoration: none;
}
}
This means that I intend to modify the CSS when the screen size goes below 300px.
I have also included this meta tag:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
However
when I reduce the browser size to less than 300px, the CSS changes are not reflected. I confirmed this by inspecting with Firebug and verifying that my CSS was not being applied.Edit
Initially, this was my default css:
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
float: left;
padding: .5em 1em;
text-decoration: none;
}
Despite using media queries, in Firebug I always see the default CSS being applied, not the one within the media query.