We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d48b5f1 commit 1f53628Copy full SHA for 1f53628
css-color-4/Overview.bs
@@ -212,9 +212,9 @@ For example, to specify lime green:
212
213
<div class="example">
214
<pre class="lang-css">
215
- em { color: lime; } /* color keyword */
216
- em { color: rgb(0 255 0); } /* RGB range 0-255 */
217
- em { color: rgb(0% 100% 0%); } /* RGB range 0%-100% */
+ em { color: <span class="swatch" style="--color: lime"></span> lime; } /* color keyword */
+ em { color: <span class="swatch" style="--color: lime"></span> rgb(0 255 0); } /* RGB range 0-255 */
+ em { color: <span class="swatch" style="--color: lime"></span> rgb(0% 100% 0%); } /* RGB range 0%-100% */
218
</pre>
219
</div>
220
0 commit comments