V
V
vladHD2015-11-06 01:36:51
css
vladHD, 2015-11-06 01:36:51

How to make a block with an image and text?

Actually, the question is how to make such a block correctly? (of course it should be adaptive).
It comes to mind to position the text blocks on the absolute, the second option is to set the background for one block, and put two text blocks there, and align them with margins .. But the question remains with the responsive ....
f9a45c88fb174b56b0c13dc188d8e738.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2015-11-06
@aefanov

to the dm structure, I would add another wrapper for .left,.right , and add something like this to it overflow: hidden; или clear:both; и width: 100%;
and html like this

<div class="top"></div>
<div class="holder">
  <div class="left"></div>
  <div class="right"></div>
</div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question