Answers for "what is media query and syntax"

CSS
51

media query

@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }
}
Posted by: Guest on December-06-2019
2

print media query css

@media print { 
 /* All your print styles go here */
 #header, #footer, #nav { display: none !important; } 
}
Posted by: Guest on May-20-2020

Browse Popular Code Answers by Language