CodePen

HTML

            
              <!DOCTYPE html>
<html class="no-js" lang="en">

<head>
<meta charset="utf-8" />

<title>Multiple Instances of Media Queries Don't Work in Anything but Firefox?</title>

<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1">
</head>

<body>
  
  <div>
    <p>Testing 1 2 3</p>
  </div>
  
</body>

            
          
!
via HTML Inspector

CSS

            
              @media only screen and (min-width : 320px) {
 div {
    background-color: red;
    width: 320px;
  }
}

@media only screen and (min-width : 768px) {
 div {
    background-color: blue;
    width: 320px;
  }
}

@media only screen and (min-width : 320px) {
 p {
    color: black;
  }
}

@media only screen and (min-width : 768px) {
 p {
    color: white;
  }
}

@media only screen and (min-width : 320px) {
 p {
    font-size: 20px;
  }
}

@media only screen and (min-width : 768px) {
 p {
    font-size: 30px;
  }
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................