S
S
Sasha2015-10-13 12:15:40
css
Sasha, 2015-10-13 12:15:40

How to implement such a mask with a picture?

Hello, please tell me how to implement such a mask with a picture?
Better just with css.
The fact is that the size of the picture can be different, respectively, it can be stretched in different ways, I would not want to scatter all the elements on the absolute, because then there will be a binding to specific sizes.
J2bX809iMJK1r6.png
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_darkway, 2015-10-13
@hronik87

If I understood the question correctly, then try the frame as a background in the adaptive block, and the girl as a picture in the center. Well, the minimum dimensions of the block also probably need to be set.

A
Alexandr M., 2015-10-13
@Makarych90

1) Just make a picture
2) Girl in the foreground - a frame on the back htmlbook.ru/css/z-index.
The png girl is
all in a div with center alignment. raise the girl a couple of pixels up so that the frame is visible

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question