Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>multicolumn | column-rule</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style><![CDATA[
body {
margin: 1em;
}
body>div {
font-family: Ahem;
font-size: 1em;
line-height: 1em;
color: black;
background: yellow;
margin: 1em 0;
border: 1em solid gray;
width: 15em;
height: 2em;
}
div div {
width: 2em;
height: 2em;
float: left;
}
.a {
color: blue;
width: 1em;
margin-left: 1em;
}
div+div+div {
left: 11em;
}
]]></style>
</head>
<body>
<p>Pass if there is no red visible.</p>
<div>
<div>xx xx</div>
<div class="a">x x</div>
<div>xx xx</div>
<div class="a">x x</div>
<div>xx xx</div>
<div class="a">x x</div>
<div>xx xx</div>
</div>
</body>
</html>