CSS opacity
In this lesson, we will learn the concept of CSS opacity, what it is, and how to use it in your web development projects.
CSS opacity Property
The CSS opacity property allows you to control the transparency of an element on a web page. It's like adjusting the transparency of a glass pane. The opacity property accepts values between 0 and 1, where 0 means completely transparent (invisible), and 1 means fully opaque (not transparent at all).
Applying the opacity property to a parent element also affects its child elements by making them inherit the same level of transparency.
Unlock This Lesson & Start Learning!
Get full access to this lesson, practical exercises, quizzes, and your Mentora AI Tutor.
Special Offer, use coupon code DWL6BC to get additional discount of 10% on all subscription. Hurry limited time offer.
1 Month
Renews at ₹259/month.
Manual renewal required.
No automatic charges.
- Premium lessons access
- Quizzes and exercises
- Mentora AI Tutor
3 Months
Equivalent to ₹219.67/month.
Manual renewal required.
No automatic charges.
- Premium lessons access
- Quizzes and exercises
- Mentora AI Tutor
6 Months
Equivalent to ₹193.17/month.
Manual renewal required.
No automatic charges.
- Premium lessons access
- Quizzes and exercises
- Mentora AI Tutor
12 Months
Equivalent to ₹179.92/month.
Manual renewal required.
No automatic charges.
- Premium lessons access
- Quizzes and exercises
- Mentora AI Tutor