6
glassmorphism without backdrop filter
source link: https://codepen.io/Sevillain/pen/xxpQZpM
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
glassmorphism without backdrop filter
0 unsaved changes
xxxxxxxxxx
<div class="container">
<div class="bg"></div>
</div>
xxxxxxxxxx
* {
box-sizing:border-box;
margin:0;
padding:0;
}
html,
body {
height:100%;
}
body {
display:grid;
place-items:center;
background-image:url("https://images.unsplash.com/photo-1649835580583-7bd1ec107a36?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80");
background-size:cover;
background-position:center;
background-attachment:fixed;
}
.container {
width:500px;
aspect-ratio:1;
overflow:hidden;
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK