Home »
MCQs »
Advanced CSS MCQs
Which keyword is used to make a color transparent?
14. Which keyword is used to make a color transparent?
- transparent
- opacity
- color-transparent
- 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;
}