Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: border-color shorthand (basic)</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/border/color/001.html" type="text/html"/>
<link rel="match" href="border-shorthands-001-ref.xht" />
<style type="text/css">
div { color: red; border: solid 1em; }
div { border-color: green; }
</style>
</head>
<body>
<p>There should be a green bar below.</p>
<div class="test"></div>
</body>
</html>