<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Spanner as ::before and ::after pseudo elements</title> | |
</head> | |
<body> | |
<p>There should be five rectangles with identical sizes below. The first, third and fifth | |
one should be blue with nothing inside. The second and fourth one should be yellow with some | |
dots inside.</p> | |
<div style="line-height:100px; background:blue;"> | |
| |
<div style="background:yellow;">..........</div> | |
| |
<div style="background:yellow;">..........</div> | |
| |
</div> | |
</body> | |
</html> |