Direction: Choose the correct option
Q1.
What does the opacity property control?
Direction: Choose the correct option
Q2.
.box {
opacity: 0.5;
}What effect does this have on the element and its children?Direction: Choose the correct option
Q3.
.box {
background: rgba(0, 0, 0, 0.5);
}What is the difference from using opacity?Direction: Choose the correct option
Q4.
img {
opacity: 0.7;
}
img:hover {
opacity: 1;
}What effect does this create?Direction: Choose the correct option
Q5.
What is the default value of opacity?
