about summary refs log tree commit diff stats
path: root/test/layout/variables.html
blob: 330659a997bcc4cbd039eea35c480f2bcccc1dfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<style>
a { --purple: purple; color: var(--purple) }
div { color: white; --pink: yellow !important; background-color: var(--purple) }
#test {
	--test: var(--test2);
	--test2: var(--test);
	--test3: var(--test4);
	--test4: red;
	--test5: var(--test6,var(--test7));
	--test7: var(--test6,var(--test5));
	color: var(--test);
	color: var(--test3);
	background-color: var(--test5);
}
</style>
</style>
<a>
<div>purple</div>
</a>
<span id=test>test</span>