I'm facing an issue where I can't have a blurred element inside another blurred element. Currently, I have a header with backdrop-filter: blur(3px);
and a div within it with a more intense background blur of backdrop-filter: blur(50px);
. However, both elements end up being blurred by just 3px.
I want to maintain this structure while achieving the desired effect. Can someone guide me on how to achieve this?
https://jsfiddle.net/q1aymg02/42/
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8>
<title></title>
</head>
<body>
<style>
body {
background-image: url(https://image.freepik.com/free-vector/space-game-background-with-landscape-planet_107791-1700.jpg);
}
.header {
backdrop-filter: blur(3px);
padding: 15px;
border: 1px solid #FFF;
}
.header ul a li {
display: inline-block;
padding: 15px 40px;
background: #ffffffb5;
backdrop-filter: blur(50px);
}
</style>
<div class="header>
<ul>
<a href=""><li>Dont Blured</li></a>
<a href=""><li>By 50px</li></a>
<a href=""><li>Only 3px</li></a>
</div>
</body>
</html>