Have the following media query:
@media(max-width:980px){
/*Do something*/
}
The above works, but when I try to do:
@media only screen and (max-width:980px){
/*Do something*/
}
Doesn't work!
Tested it on all browsers (desktop). Every time I try to add "only screen" or anything else (before the parentheses) besides "@media" I can't get it to work. I typically uses SASS, and include a _responsive.sass file at the end of the main file. Does it have to do with my viewport settings?
<meta name="viewport" content="width=device-width" />