CSS Blur Effect

Developer
Size
3,176 Kb
Views
34,408

How do I make an css blur effect?

What is a css blur effect? How do you make a css blur effect? This script and codes were developed by Daniel Gooß on 10 November 2022, Thursday.

CSS Blur Effect Previews

CSS Blur Effect - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Blur Effect</title> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Roboto:400,700''> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ .image-container { overflow: hidden; position: relative; width: 100%;
}
.image-container img { display: block; width: 100%;
}
.image-container .details-wrapper { position: absolute; bottom: 0; width: 100%;
}
.image-container .details { position: relative; overflow: hidden; z-index: 0; box-sizing: border-box; padding: 15px; background-size: 0; background-color: rgba(160, 180, 185, 0.5); color: #fff; text-align: center;
}
.image-container .details::before { z-index: -1; content: ''; position: absolute; top: 0; left: 0; bottom: 0; display: block; width: 100%; padding: 10px 0 0; margin: -10px 0 0; background-image: inherit; background-position: 0 100%; background-repeat: no-repeat; background-size: cover; background-color: inherit; background-blend-mode: multiply; -webkit-filter: blur(5px); filter: blur(5px);
}
.image-container .title { margin: 0 0 0.5em; font-weight: normal;
}
body { font-family: 'Roboto', sans-serif;
}
/*img{ -moz-filter: brightness(1.15); -webkit-filter: brightness(1.15); filter: brightness(1.15);
}*/ </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="image-container"> <img src="http://i5.ztat.net/large/PI/92/2I/00/S1/11/[email protected]" alt="" /> <div class="details-wrapper"> <div class="details" style="background-image: url(http://i5.ztat.net/large/PI/92/2I/00/S1/11/[email protected])"> <h3 class="title">Pullover Jacke</h3> <span class="price">399 €</span> </div> </div>
</div>
</body>
</html>

CSS Blur Effect - Script Codes CSS Codes

.image-container { overflow: hidden; position: relative; width: 100%;
}
.image-container img { display: block; width: 100%;
}
.image-container .details-wrapper { position: absolute; bottom: 0; width: 100%;
}
.image-container .details { position: relative; overflow: hidden; z-index: 0; box-sizing: border-box; padding: 15px; background-size: 0; background-color: rgba(160, 180, 185, 0.5); color: #fff; text-align: center;
}
.image-container .details::before { z-index: -1; content: ''; position: absolute; top: 0; left: 0; bottom: 0; display: block; width: 100%; padding: 10px 0 0; margin: -10px 0 0; background-image: inherit; background-position: 0 100%; background-repeat: no-repeat; background-size: cover; background-color: inherit; background-blend-mode: multiply; -webkit-filter: blur(5px); filter: blur(5px);
}
.image-container .title { margin: 0 0 0.5em; font-weight: normal;
}
body { font-family: 'Roboto', sans-serif;
}
/*img{ -moz-filter: brightness(1.15); -webkit-filter: brightness(1.15); filter: brightness(1.15);
}*/
CSS Blur Effect - Script Codes
CSS Blur Effect - Script Codes
Home Page Home
Developer Daniel Gooß
Username daniel_gooss
Uploaded November 10, 2022
Rating 3
Size 3,176 Kb
Views 34,408
Do you need developer help for CSS Blur Effect?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Daniel Gooß (daniel_gooss) Script Codes
Create amazing love letters with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!