I have a problem with this CSS property. I created a modal containing Inputs and labels and I just want to blur the content on the background. The problem is that blur is applying also on everything inside a container including text and inputs. I don't know how to fix this problem. Here's my container code:
const StyledModal = styled.div`
position: relative;
overflow: auto;
z-index: 100;
width: fit-content;
max-height: fit-content;
padding: 47px 41px 61px;
display: flex;
border: 1px solid ${({ theme }) => theme.colors.primary};
border-radius: ${({ theme }) => theme.borderRadiusLarge};
background: linear-gradient(
180deg,
rgba(92, 192, 190, 0.4) 0%,
rgba(92, 192, 190, 0.4) 100%
);
backdrop-filter: blur(200px);
`;
Thanks in advance for all the helpful answers!