N
N
Nikita Musikhin2015-10-05 19:24:34
css
Nikita Musikhin, 2015-10-05 19:24:34

How to make similar elements?

Hello, I have never typed up such elements (curved transitions and the effect of overlaying an element on them) and the other day there was a need, I have such a question, how is it better to organize it? I would be grateful even for links to information on this issue. Thank you in advance.
VIfStWe.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Shepelev, 2015-10-05
@jestoky

This is most likely implemented by positioning an element inside another! In this case, one has a property ( relative ), the second - in your example, a setting property ( absolute ).
Those. the block with the phone image is absolutely positioned relative to the block with the background!
Read here: htmlbook.ru/css/position
Example here: jsfiddle.net/egx2k1Lz

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question