hey all, does any one know how to get around the fact that backdrop-filter:blur doesn’t work when one of the parent elements has an interaction applied to it? Trying to add a backdrop blur to the individual cards of testimonial section 33
Backdrop filters only affect semi-transparent elements. If the background is solid, the effect won’t be visible.
To which element you wanna add the blur? The parent / any specific child element
transform: translate()
, which creates a new stacking context.backdrop-filter
only works on elements behind the blurred element, but transforms isolate it from the background.Finally!
This works perfectly
.testimonial33_list { backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important; }
no that didnt work you’re making the wrong element blurred. I found a workaround now that worked
<style> .testimonial33_content-wrapper { backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; background-color: rgba(255, 255, 255, 0.5) !important; /* Add some transparency */ z-index: 1 !important; } .testimonial33_list-left, .testimonial33_list-right { will-change: transform; /* This is already in your code */ transform-style: flat !important; /* Override preserve-3d which can break backdrop-filter */ backface-visibility: visible !important; } .testimonial33_list, .testimonial33_card-content-right { position: relative; z-index: 0; transform: translateZ(0); } </style>
Having just this is fine bro. It did worked for me. Even though we're adding blur to parent element it did worked as expected
.testimonial33_list { backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important; }