At-rules
WeasyPrint
This browser
Source
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: At-rules</title>
5 <link rel="author" title="L. David Baron" href="http://dbaron.org/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#at-rules">
7 <style type="text/css">
8
9 p { color: red; }
10
11 @foo bar {}
12
13 p { color: green; }
14
15 </style>
16 </head>
17 <body>
18
19 <p>This should be green.</p>
20
21 </body>
22 </html>