Relative Color Syntax — Basic Use Cases

Relative Color Syntax — Basic Use Cases

As of last month, Firefox 128’s support of the relative color syntax means we’ve now got support across the board. I’m excited about that as it’s an extremely powerful way to manipulate colors in CSS. Plus it was part of Interop this year so that is further proof that is trucking along nicely.

The syntax with generic names looks like this:


color-function(from origin-color channel1 channel2 channel3 / alpha)        


要查看或添加评论,请登录

Mustafa Selman ?nal的更多文章

社区洞察

其他会员也浏览了