Q
Q
Qleager2016-11-25 03:23:57
HTML
Qleager, 2016-11-25 03:23:57

Why does pseudo-elements not work correctly with flex items?

The flex element has pseudo-elements for which position: absolute, and when using left/right/top/bottom, the countdown starts not from the edge of the flex element, but from the edge of the flex container. Actually the question is how to make a report from the edge of the flex element?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2016-11-25
@Qleager

as usual - position:relative for the block from which to count.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question