Which keyword is used to make a color transparent?

14. Which keyword is used to make a color transparent?

  1. transparent
  2. opacity
  3. color-transparent
  4. alpha

Answer: A) transparent

Explanation:

The transparent keyword is used to make a color transparent. It is mostly used for creating the transparent background color of an element.

Example:

body {
  background-image: url("theme1.jpg");
}

div.example1 {
  background-color: transparent;
}

Comments and Discussions!

Load comments ↻






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