Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>CSS Test: border-color</title>
<link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="match" href="c5516-ibrdr-c-000-ref.xht" />
<style type="text/css"><![CDATA[
p { margin: 3em; }
.one {border-color: green; border-style: solid;}
.two {border-color: green; border-width: medium; border-style: solid;}
.three {border-color: purple green blue yellow; border-width: 2em; border-style: solid;
line-height: 6em;}
]]></style>
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties"/>
</head>
<body>
<p>
<span class="one">This box should have a green border.</span>
</p>
<p>
<span class="two">This box should have a green border.</span>
</p>
<p>
Clockwise from top, the borders around
<span class="three">THIS PHRASE</span>
should be: PURPLE, GREEN, BLUE, YELLOW.
</p>
</body>
</html>