The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS need to remove opacity from child node Reply To: need to remove opecity from child node


Basically…you can’t.

A child element inherits the opacity of it’s parent…so you don’t use opacity.

What you could do is apply an RGBA color to the background instead of a solid color.

If you create a reduced case in Codepen it would be simple to demonstrate for your requirements.