V
V
Vlad Derzhavin2018-07-04 16:00:58
css
Vlad Derzhavin, 2018-07-04 16:00:58

How to properly format this heading?

5b3cc34da5e73212515578.png5b3cc4414d5dd160333697.png5b3cc3c0b0f9c952461116.png
If without an adaptive, then I can arrange it. But so that when the screen is reduced, it moves along with the picture, and then it is completely rebuilt on a new line, it does not work.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Olga Veter, 2018-07-04
@vetero4eg

I would do like before or after to the text block. Or a separate tag with a negative margin at the beginning. The main thing is not to tie it to the picture.

L
ljutaev, 2018-07-04
@ljutaev

Pseudo-class ::before + counter-reset + position: absolute
counter-reset to avoid manually writing numbers or play with :nth-child()

T
Tlegen Bayangali, 2018-07-04
@TlegenBayangali

in order not to resort to negative indent values, I advise you to logically divide them into items and wrap them with one class (for example, class="item"), then use absolute positioning to expose the internal elements as you please. when adaptive, it is easy to change the properties of positions and sizes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question