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