CSS3 Question:

Download Job Interview Questions and Answers PDF

What is opacity in CSS3?

CSS3 Interview Question
CSS3 Interview Question

Answer:

Opacity is used to show or hide the html element For example 0 for hide and 1 for show

<p style="opacity: 0">Show Me</p>
<p style="opacity: 0.5">Show Me</p>
<p style="opacity: 1">Show Me</p>

Download CSS3 Interview Questions And Answers PDF

Previous QuestionNext Question
What is the CSS3 animation?What is the syntax of opacity in CSS3?