The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Regarding for CSS Opacity
Ankit Dixit
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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! smile.gif

Maybe they want you to say it controls opacity? Or they want more details.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 23 2021, 08:50 AM
Post #3


.
********

Group: WDG Moderators
Posts: 9,628
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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 05:30 AM