I have been able to create a stunning image glow effect by duplicating the image in HTML and applying CSS filters like blur and saturation. However, I am wondering if it's possible to achieve the same result without adding the additional HTML element for the blurred/saturated image, as it is essentially just a styling choice on the main image. Take a look at the example below to see this effect in action.
https://i.sstatic.net/vzm25.png
body {
display: flex;
justify-content: center;
background-color: black;
color: white;
padding: 2rem;
}
.wrapper {
position: relative;
width: 250px;
height: 250px;
}
.glow,
.image {
position: absolute;
top: 0;
left: 0;
width: 100%;
border-radius: 10px;
}
.glow {
filter: blur(30px) saturate(5);
}
<div class="wrapper">
<img class="glow" src="https://ia601706.us.archive.org/8/items/mbid-bbeded36-8d04-4b3b-8b8b-6fa2e4fec570/mbid-bbeded36-8d04-4b3b-8b8b-6fa2e4fec570-27549132408.jpg" />
<img class="image" src="https://ia601706.us.archive.org/8/items/mbid-bbeded36-8d04-4b3b-8b8b-6fa2e4fec570/mbid-bbeded36-8d04-4b3b-8b8b-6fa2e4fec570-27549132408.jpg" />
</div>