W
W
webhero2018-04-15 05:32:50
Layout
webhero, 2018-04-15 05:32:50

How to set a pseudo-element under a flex element?

https://codepen.io/anon/pen/KojQeB
In the sandbox you can clearly see the problem, you need to get the pseudo-element strip under the flex block
What I haven’t tried yet

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
A person from Kazakhstan, 2018-04-15
@webhero

as usual, relative for the parent and for :after or before absolute
in general is this necessary ?
5ad2c27b216a5045050465.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question