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 devicesprint
: for printersspeech
: for screen readers that "reads" the page out loudscreen
: for computer screens, tablets, smart-phones etc.
Here is an example of print
media type's usage:
@media print {body {color: black;}}