First time working with media queries and I'm a bit lost.
I have linked an external .css to my html UNDERNEATH my default styles as such:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<title>Title</title>
<link rel="stylesheet" href="./css/style.css" />
<link rel='stylesheet' href='./css/breakpoints.css' />
In my breakpoints.css I have:
@media screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
body{
background:green;}
.icon{
display:none;}
}
}
@media screen
and (min-width : 1224px) {
body{
background:red;
}
header.nav{
display:none;
}
}
@media screen and (min-device-width : 320px) and (max-device-width : 480px)
Works, but
@media screen and (min-width : 1224px)
does not. I see no change with my desktop media queries and I'm at a total lost. I'm not sure what I am doing wrong??? thanks!