T
T
tosster222019-06-07 07:48:56
css
tosster22, 2019-06-07 07:48:56

How to align an element?

I have a container that has display: flex. It has text. How to correctly align text to the right and indent from the container? If the element were block, then it would be possible to make float: right b set margin, but what about flexbox? thank you all for your replies))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Lyskov, 2019-06-07
@tosster22

justify-content: flex-end, margin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question