Hello All, I am new in this community and I am in my learning face to attend the CSS Interview, I want to know about CSS opacity, As my research CSS opacity is the property used to describe the transparency of an element but I have given this answer in my previous interview and interviewer not satisfied with this. Can anyone suggest me the exact meaning and working of CSS opacity?
Hi and welcome to the forums!
Maybe they want you to say it controls opacity? Or they want more details.
To be exact, opacity is actually the opposite of transparency, so when opacity is set to zero the element will be fully transparent. You could also mention how the opacity property and its values are specified in CSS, how the opacity affects child elements, and any potential accessibility issues.
See also https://developer.mozilla.org/en-US/docs/Web/CSS/opacity
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)