D
D
DmitriySwan2018-09-26 22:11:54
css
DmitriySwan, 2018-09-26 22:11:54

What is the best way to lay out these pseudo-elements?

5babd977c7d07123494988.png
I thought to hang pseudo-elements on the background of the section, but there are three pictures, as it were. What's the best way to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Odisseya, 2018-09-27
@Odisseya

You can use a multiple background background-image: url(img.png), url(img.png);- the images must be listed in the order of overlay, the image that is earlier in the list will be higher. And we position each separately through background-position.

M
Mikhail Rerberg, 2018-09-26
@NooNoo

This can be done with normal img, but absolutely positioned

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question