@media min-width

yellow -> lime (600) -> red (800) -> DodgerBlue (1000)

pink -> orange (600)
tan -> #CFC (800)
cyan-> fuchsia (1000)
   <style>

   div.ex {background-color: yellow;}

   div.z1 {background: pink;}
   div.z2 {background: tan;}
   div.z3 {background: cyan;}

   /* Meaning of min-width: */

   /* Viewport width equal to or larger than min-width ==> TRUE */
   /* Viewport width smaller            than min-width ==> FALSE */

   /* When a test is true, insert its specified rules in place of the test */
   /* The order of the three @media tests matters */
   /* With this ordering of @media tests, when one is true, all earlier tests are true */

   @media screen and (min-width: 600px) {
     div.ex {background: lime;}
     div.z1 {background: orange;}
   }

   @media screen and (min-width: 800px) {
     div.ex {background: red;}
     div.z2 {background: #CFC;}
   }

   @media screen and (min-width: 1000px) {
     div.ex {background: DodgerBlue;}
     div.z3 {background: fuchsia;}
   }

   </style>
   </head>
   <body>

   <h1>@media min-width</h1>

   <div class="ex">yellow -> lime (600) -> red (800) -> DodgerBlue (1000)</div>
   <br />
   <div class="z1">pink -> orange (600)</div>
   <div class="z2">tan -> #CFC (800)</div>
   <div class="z3">cyan-> fuchsia (1000)</div>