c5516-brdr-c-000

border-color

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: border-color</title>
 5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#border-color">
 6   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 7   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 8   <style type="text/css">
 9    .one {border-color: green; border-style: solid;}
10    .two {border-color: green; border-width: medium; border-style: solid;}
11    .three {border-color: purple green blue yellow; border-width: 2em; border-style: solid;}
12   </style>
13   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties">
14  </head>
15  <body>
16   <p class="one">
17    This box should have a green border.
18   </p>
19   <p class="two">
20    This box should have an identical green border.
21   </p>
22   <p class="three">
23    Clockwise from top, the borders should be: PURPLE, GREEN, BLUE, YELLOW.
24   </p>
25  </body>
26 </html>