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