summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-variables/reference/vars-background-shorthand-001-ref.html
blob: 93561fd6147f2435a10f79e07022c0e4dfc5f639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!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>