Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to disable opacity on child element when parent element has opacity in CSS?

user-image
Question added by Muhammad Kashif Sikander Hayat , Graphic Designer & Sales Assistant , Al Qaiser Gifts & Handicrafts Est.
Date Posted: 2016/03/25
Arbab Ahmed Arbab Ahmed
by Arbab Ahmed Arbab Ahmed , front-end-developer , Rewterz / Webjinn

<divid="contentContainer"style="background:#FFFFFF;opacity:0.8"> Content ... <imgsrc="..."style="opacity:1.0"alt="Photo"/></div>