New CSS Color syntax — rgb instead of rgba
Read OriginalThis article details the updated CSS color syntax that allows developers to specify transparency directly in rgb() and hsl() functions using a slash (/) for the alpha value, removing the need for separate rgba/hsla functions. It confirms browser support and notes how Sass compilers handle the new syntax.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser