Home »
MCQs »
Advanced CSS MCQs
Which CSS property sets the opacity for the whole element?
13. Which CSS property sets the opacity for the whole element?
- aplha
- opacity-value
- opacity
- background-opacity
Answer: C) opacity
Explanation:
The opacity property sets the opacity for the whole element.
Example:
p
{
opacity:0.4;
}