D
D
deniska932021-06-10 14:00:47
css
deniska93, 2021-06-10 14:00:47

How to make an image overlay effect?

Good day
How to implement a similar effect? the background duplicates the picture in front (well, or vice versa)60c1f0d695946674226577.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Simakin, 2021-06-11
@Vadessa

HTML:

<div class="container">
<img src="ссылка на изображение" class="center">
</div>

CSS:
.container {
width: 100vw;
height: 100vh;
filter: blur(10px);
background: url("ссылка на изображение");
}
.center {
width: 50px;
margin: auto;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question