Skip to content

Commit ea15d38

Browse files
committed
[css-color-5][editorial] Update legacy rgba RCS example to use commas
1 parent f1c3606 commit ea15d38

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
@@ -939,10 +939,10 @@ Relative color syntax is only applicable to the non-legacy RGB syntactic forms.
939939

940940
<div class="example invalid">
941941
For example, this attempt to use the rgba
942-
<a>legacy color syntax</a> would be incorrect
942+
<a>legacy color syntax</a> with commas would be incorrect
943943

944944
<pre>
945-
rgba(from <span class="swatch" style="--color: darkblue"></span> darkblue 16 32 b / 0.5 )
945+
rgba(from <span class="swatch" style="--color: darkblue"></span> darkblue 16, 32, b, 0.5 )
946946
</pre>
947947
</div>
948948

0 commit comments

Comments
 (0)