background: rgba(255,255,255,0.5);
backdrop-filter: blur(5px);
/* Answer to "blur behind element css" */
/*
This blurs everything behind the element it's applied to
*/
backdrop-filter: blur(10px);
/* Setting background image and filter to blur */
body{
background-image: url("software_code_3.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
color: whitesmoke;
backdrop-filter: blur(8px);
/* -webkit-filter: blur(8px); */
}
/* creating a kind of "glass-polymorphism" effect with a light-dark background*/
.container {
border: 1px;
border-radius: 5px;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0, 0.4);
padding: 20px;
}
/* Add the blur effect in CSS */
filter: blur(8px);
-webkit-filter: blur(8px);
background: transparent;
backdrop-filter: blur(10px);
.mydiv { filter: grayscale(50%) }
/* Graut alle Bilder um 50% aus und macht sie um 10px unscharf */
img {
filter: grayscale(0.5) blur(10px);
}
filter: blur(8px);
-webkit-filter: blur(8px);
backdrop-filter: blur(5px);
backdrop-filter: blur(6px);
html, body {
width: 100%;
height: 100%;
}
.container {
width: 100%;
height: 100%;
display: grid;
grid-template-columns: 1fr 6fr 1fr;
grid-template-rows: 1fr 6fr 1fr;
grid-template-areas:
'. . .'
'. content .'
'. . .';
justify-content: center;
align-items: center;
}
.backbround {
width: 100%;
height: 100%;
grid-area: 1/1/5/5;
background-image: url(https://i.imgur.com/aUhpEz3.jpg);
filter: blur(5px);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.content {
height: 200px;
position: relative;
grid-area: content;
display: flex;
justify-content: center;
align-items: center;
color: white;
}
Code Example |
---|
Css :: Vuetify v-data-table custom row hover background color (Light Theme) |
Css :: css disable input |
Css :: stop anchor tag scroll to top of page |
Css :: pure css tabs |
Css :: bootstrap-start |
Css :: how to hide scrollbar in tailwind css |
Css :: how to stretch a font taller css |
Css :: css table size |
Css :: how select two nt child with css |
Css :: horizontal scroll only css mobile |
Css :: change text color li css |
Css :: css td vertical align |
Css :: how to insert gradient in css |
Css :: font-variant |
Css :: fading bottom image css |
Css :: Sf pro font html |
Css :: add background image in css |
Css :: simple css reset |
Css :: font size x large in css |
Css :: preloader css |
Css :: css filter |
Css :: css grid responsive |
Css :: align centre |
Css :: css media query overflow |
Css :: fix scroll css position sticky |
Css :: bootstrap z-index |
Css :: css pass param to class |
Css :: css border without changing size |
Css :: add .css to CKEDITOR |
Css :: change image color with css |