The browsers (getting the same problem in Chrome, IE & FF) get the styles for mobile and tablet devices, but the third media query on my file isn't being applied. I checked the page source and the file is attached and the three media queries are in the stylesheet, but the third media query isn't being applied.
I'm compiling from Sass and I get a green light when I save, meaning that the files are compiling correctly. I have a little JS function that removes some text for certain device widths, but I tried removing that and nothing changed.
Here's the code I'm using as the actual media queries:
Expand|Select|Wrap|Line Numbers
- @media all and (max-width: 321px) {
- // Styles here
- }
- @media all and (min-width: 321px) and (max-width: 780px){
- // Styles here
- }
- @media all and (min-width: 780px){
- // Styles here
- }
Expand|Select|Wrap|Line Numbers
- <meta name='viewport', content='width=device-width, initial-scale=1'>