I have a banner, which depending on the chosen theme, can have a "blurred" effect:
opacity: 50%; backdrop-filter: blur(50px); How can I ensure that the children of the banner element are not "blurred" - for example it includes elements such as logos/icons/text. I've tried adding opacity: 100% to the individual child elements but to no avail.
body { margin: 0; } .banner { height: 125px; background-color: green; opacity: 50%; backdrop-filter: blur(20px); } .logo { color: white; } <div class="banner"> <p class="logo">This text should be white (without reduced opacity)</p> </div> Any thoughts/ possible workarounds appreciated!