1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

Base: Add inline properties to custom-properties test page

This commit is contained in:
Karol Kosek 2022-03-26 16:26:30 +01:00 committed by Andreas Kling
parent aaa954f900
commit 55ac11a0ae

View file

@ -152,6 +152,14 @@
This should be cyan
</div>
<h2>Inline properties</h2>
<pre>
&lt;div style="--color: turquoise; background-color: var(--color)"&gt;
</pre>
<div class="box" style="--color: turquoise; background-color: var(--color)">
This should be turquoise
</div>
<h2>Nested var()</h2>
<pre>
:root {