Skip to content

Commit 1f53628

Browse files
committed
[css-color-4] lime swatches
1 parent d48b5f1 commit 1f53628

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-color-4/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ For example, to specify lime green:
212212

213213
<div class="example">
214214
<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% */
215+
em { color: <span class="swatch" style="--color: lime"></span>&nbsp;lime; } /* color keyword */
216+
em { color: <span class="swatch" style="--color: lime"></span>&nbsp;rgb(0 255 0); } /* RGB range 0-255 */
217+
em { color: <span class="swatch" style="--color: lime"></span>&nbsp;rgb(0% 100% 0%); } /* RGB range 0%-100% */
218218
</pre>
219219
</div>
220220

0 commit comments

Comments
 (0)