<!DOCTYPE html> | |
<title>CSS Variables 1: Test variables in background shorthand.</title> | |
<link rel="author" title="Lea Verou" href="mailto:lea@verou.me"> | |
<style> | |
div { | |
width: 50px; | |
height: 50px; | |
padding: 50px; | |
margin: 10px; | |
display: inline-block; | |
background: green; | |
} | |
</style> | |
<p>Test passes if you see four green squares, and no red.</p> | |
<div id="d1"></div> | |
<div id="d2"></div> | |
<div id="d3"></div> | |
<div id="d4"></div> | |