
notecss
Would use:
CSS relative alpha.
button {
border-color: alpha(from hotpink / calc(alpha * .25));
}

Would use:
CSS relative alpha.
button {
border-color: alpha(from hotpink / calc(alpha * .25));
}
Would use: #CSS relative alpha `color: alpha(from black / 50%)` https://t.co/k1DHK8sQ1zAdam Argyle
@argyleink Idk why but I can’t seem to open the csswg link. Just me ?? Looks interesting but why isn’t this the same as color-mix with transparentRyan Kuruppu
@raiiii_kun @argyleink Could you give an example?一丝
@yisibl @argyleink color-mix(in srgb, #000, transparent 80%) this I would assume give a similar or same result ?Ryan Kuruppu
@raiiii_kun @argyleink `alpha(from #000 / 80%)` is equivalent to `color-mix(in sRGB, #000 80%, transparent)` You can try it in Chrome Canary.一丝
@yisibl @argyleink Right. So basically it’s syntax sugar for that ? If so, cool. I assume it auto detects the color space based on what we pass as the color ?Ryan Kuruppu
@raiiii_kun @argyleink Yeah一丝
@raiiii_kun @argyleink https://t.co/nvz9LfkXA9一丝
@yisibl @argyleink Love this. Thanks @yisibl. Appreciate it✨Ryan Kuruppu
@yisibl @raiiii_kun mmm sugarAdam Argyle