We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a65f42 commit 59972baCopy full SHA for 59972ba
1 file changed
css-color-5/Overview.bs
@@ -1094,15 +1094,15 @@ Relative color syntax is only applicable to the non-legacy RGB syntactic forms.
1094
<a>legacy color syntax</a> would be incorrect
1095
1096
<pre>
1097
- rgba(from <span class="swatch" style="--color: darkblue">darkblue 16 32 b / 0.5</span> )
+ rgba(from <span class="swatch" style="--color: darkblue"></span> 16 32 b / 0.5 )
1098
</pre>
1099
</div>
1100
1101
<div class="example">
1102
Instead, use
1103
1104
1105
- rgb(from <span class="swatch" style="--color: darkblue">darkblue 16 32 b / 0.5</span> )
+ rgb(from <span class="swatch" style="--color: darkblue"></span> 16 32 b / 0.5 )
1106
1107
1108
This takes the sRGB value of darkblue (0 0 139) and replaces
0 commit comments