mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
9 lines
214 B
HTML
9 lines
214 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
div#a { --foo: purple }
|
|
div#b { --foo: blue }
|
|
p { background-color: var(--foo) }
|
|
</style>
|
|
<div id="a"><p>This should be purple.</p></div>
|
|
<div id="b"><p>This should be blue.</p></div>
|