0

How do i make the opacity of the parents div not to affect the child vice versa

18th Dec 2016, 1:10 AM
Cele Prince
Cele Prince - avatar
3 ответов
+ 1
The opacity of the child will always be the opacity of the parent but you can avoid this by using background:rgba() see this code made for your question ;) https://code.sololearn.com/W1wQ54y5e3uE/#html
18th Dec 2016, 3:05 AM
Adnen Rebai
Adnen Rebai - avatar
- 1
just make sure that opacity background elements don't wrap other elements in it
11th Oct 2017, 8:52 PM
林偉雄
林偉雄 - avatar
11th Oct 2017, 8:53 PM
林偉雄
林偉雄 - avatar