Enjoy 20% off all plans by following us on social media. Check out other promotions!
Quiz Questions

Can you give an example of an `@media` property other than `screen`?

Topics
CSS
Edit on GitHub

There are four types of @media properties (including screen):

  • all: for all media type devices
  • print: for printers
  • speech: for screen readers that "reads" the page out loud
  • screen: for computer screens, tablets, smart-phones etc.

Here is an example of print media type's usage:

@media print {
body {
color: black;
}
}
Edit on GitHub