Skip to content

Commit d3434ef

Browse files
committed
[css-color-5] Fix syntax highlighting in example, see #8499
1 parent 509edd3 commit d3434ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-color-5/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ so it has meaningful values for the channels.</p>
982982
to account for the changed position.
983983
For example,</p>
984984

985-
<pre>
985+
<pre highlight=css>
986986
color: color(from color(srgb 0 0 0 / 60%) srgb alpha 0.6 0.6 / 0.9);
987987
</pre>
988988

@@ -996,7 +996,7 @@ so it has meaningful values for the channels.</p>
996996
legacy rgb() syntax:
997997
</p>
998998

999-
<pre>
999+
<pre highlight=css>
10001000
color: rgb(from rgb(0 0 0 / 60%) alpha 153 153 / 0.9);
10011001
</pre>
10021002

0 commit comments

Comments
 (0)