Answers for "@media meaning css"

CSS
-1

css @media

body {
background-color: white;}

@media (max-width: 1600px) { body {
background-color: red;
      }
 }

@media (max-width: 1200px) { body {
background-color: blue;
      }
 }

@media (max-width: 1000px) { body {
background-color: cyan;
      }
 }


@media (max-width: 640px) { body {
background-color: green;
      }
 }
Posted by: Guest on April-15-2022

Browse Popular Code Answers by Language