I use media queries to create a mobile version of a website for a client. When I change the size of the browser, the media queries do not take effect, however they do take effect when the site is viewed on each device - Iโm just interested to know why the media queries do not take effect when I change the size of the browser window itself. e. Firefox
Any input is appreciated.
The code I'm using is:
@media only screen and (min-device-width : 320px) and (max-device-width : 720px) { #container { width: 100% !important; } }
source share