undefinedfix
Sign in

How does postcss write SVG support RGBA

TopRateLoansRedmond edited in Thu, 29 Sep 2022

What are the problems in using postcss write SVG

svg(1px-border param(--color $vborder)

The value of vborder in can't have transparency, such as

$vborder:rgba(7, 17, 27, 0.1);

Even if it is converted to hexadecimal 8-bit $vborder: ᦇ 07111b19, many mobile browsers in China can not resolve this transparency value. The official plug-in hasn't been updated for 3 years. So is there any other solution?

0 Replies