©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
@page <label> <pseudo-classes>{ sRules }
<label>:页面标识符
<pseudo-class>:打印伪类:first, :left, :right
IE | Firefox | Chrome | Safari | Opera | iOS Safari | Android Browser | Android Chrome |
---|---|---|---|---|---|---|---|
6.0-7.0 | 2.0-18.0 | 4.0+ | 3.1+ | 15.0+ | 3.2+ | 2.1+ | 18.0+ |
9.0+ | 19.0+ |
<!DOCTYPE html> <html lang="zh-cmn-Hans"> <head> <meta charset="utf-8" /> <title>@page_CSS参考手册_web前端开发参考手册系列</title> <meta name="author" content="Joy Du(飘零雾雨), dooyoe@gmail.com, www.doyoe.com" /> <style> @page:first{margin:300px;} </style> </head> <body> <div>@page:first{margin:300px;}</div> </body> </html>
点击 "运行实例" 按钮查看在线实例