Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the use of @ page in css

Shulou Source: shulou.com Published: 2022-06-01 03:24:42 11月15日 Update

This article mainly introduces the use of @ page in css, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand.

@ page

@ page is used to modify some CSS properties when printing a document. The @ page rule can only modify margin, orphans, widow, and page breaks of the document, and modifications to other properties are invalid.

/ * * @ page {* *} * / @ page {size: 10in 20in; margin: 10% 20%;} Thank you for reading this article carefully. I hope the article "what's the use of @ page in css" shared by the editor will be helpful to you. At the same time, I hope you will support us and follow the industry information channel. More related knowledge is waiting for you to learn!

Tags: Articles attributes values interests at the same time documents more friends knowledge editing industry rules information information channels channels references learning help support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info OPPO Reno MySQL Xiaomi Shulou Technology