What is the purpose of using rgba() in CSS?

  • To add transparency to a color
  • To define a border style
  • To set the font size
  • To specify a radial gradient
The rgba() function in CSS is used to specify a color with its red, green, blue components and an alpha (transparency) value. This allows you to control the opacity of an element, making it partially transparent.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *