Submitted almost 3 years agoA solution to the Results summary component challenge
Results Summary Component
bem, sass/scss
@ImFropZ

Solution retrospective
How do you change from a variable that has HSL color as a value to HSLA color in CSS?
:root {
--clr-red: hsl(0, 100%, 50%);
}
main {
background-color: hsla(var(--clr-red), 0.5); -- not work
}
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Lim Tangmeng's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord