Which is correct CSS statement to define blue background color with opacity?

6. Which is correct CSS statement to define blue background color with opacity?

  1. background-color: rgba(0, 0, 255, 0.3)
  2. background-color: rgba(0, 0, 255, 255)
  3. background-color: rgba(0, 255, 255, 0.3)
  4. background-color: rgba(0, 0, 1, 0.3)

Answer: A) background-color: rgba(0, 0, 255, 0.3)

Explanation:

The CSS statement (background-color: rgba(0, 0, 255, 0.3)) specifies the blue background with an opacity.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.