Currently, I am working on a project using Windows 10, Codeigniter, jQuery, and Firefox 43.0.4. However, I am facing an issue that is quite baffling to me. My goal is to apply styles specifically for an iPad-sized window, so I have implemented the following media query:
@media only screen
and (min-device-width: 768px)
and (max-width: 1024px)
{
*{color:#ff0000 !important;}
}
This test should turn all text into red, but unfortunately, it doesn't seem to be working in Firefox 43.0.4 (or even Chrome). To ensure the correct viewport size, I am also utilizing the Web Developer extension. Additionally, I have included the necessary metatag in the head section:
<meta name="viewport" content="width=device-width, initial-scale=1">
Despite having previous experience with media queries, I seem to be missing something crucial here. This frustration is really getting to me, and any suggestions on where I might be making my mistake would be greatly appreciated.