Regarding for CSS Opacity |
Regarding for CSS Opacity |
Ankit Dixit |
Mar 23 2021, 05:05 AM
Post
#1
|
Group: Members Posts: 1 Joined: 23-March 21 Member No.: 27,864 |
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?
|
pandy |
Mar 23 2021, 05:11 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
Hi and welcome to the forums!
Maybe they want you to say it controls opacity? Or they want more details. |
Christian J |
Mar 23 2021, 08:50 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,630 Joined: 10-August 06 Member No.: 7 |
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 |
Lo-Fi Version | Time is now: 29th March 2024 - 10:40 PM |