Saturday, December 2, 2017

You may nest media queries inside of media queries. It's legit.

@media (max-height: 475px) {
   #groverClevelandWrapper {
      display: none;
   }
}
@media (min-height: 475px) {
   @media (max-width: 900px) {
      #groverClevelandWrapper {
         display: none;
      }
   }
   @media (min-width: 900px) {
      #groverClevelandWrapper {
         width: 300px;
         height: 180px;
         padding: 235px 10px 0 10px;
         position: absolute;
      }
   }
}

No comments:

Post a Comment