How to use HTML @ media
This article mainly introduces the relevant knowledge of how to use HTML @ media, the content is detailed and easy to understand, the operation is simple and quick, and has a certain reference value. I believe you will gain something after reading this article on how to use HTML @ media. Let's take a look at it.
The @ media delineation gives you the means to apply a consistent pattern delineation to a consistent preface in a similar color table.
The format in the above example tells the predator to represent a 14-pixel Verdana font on the float. But assuming that the page needs to be printed, a 10-pixel Times font will be used. Note: font-weight is set to bold, regardless of the display as usual preface:
@ media screen {p.test {font-family:verdana,sans-serif; font-size:14px}} @ media print {p.test {font-family:times,serif; font-size:10px} @ media screen,print {p.test {font-weight:bold}}.... This is the end of the article on "how to use HTML @ media". Thank you for reading! I believe you all have a certain understanding of the knowledge of "HTML @ media". If you want to learn more, you are welcome to follow the industry information channel.