How to fix the pseudo-elements?

Hello! How to fix the element using the pseudo-element ::before to the different screens, he was at a given distance from your element? The problem is that the element that you specify ::before approaching him.
59d4bba987ee5222913644.png59d4bbe045c0c896877633.png
June 14th 19 at 20:03
3 answers
June 14th 19 at 20:05
Solution
June 14th 19 at 20:07
Solution
Set osnovnega block padding on the left.
Here is a small example https://jsfiddle.net/wdfrz6xf/
June 14th 19 at 20:09
to it moves the element, which was specified ::before

Find more questions by tags HTML