@ImFropZ
Rashid Shamloo
@rashidshamlooAll comments
- @rashidshamloo
There is no native function to do that in CSS. but in SASS/SCSS you can use the "rgba" function to add alpha to a color variable:
$clr-red: hsl(0, 100%, 50%); main { background-color: rgba($clr-red, 0.5); }
To see a list of other SASS color functions click here
Marked as helpful