D
D
Dxpression2021-07-30 21:54:11
css
Dxpression, 2021-07-30 21:54:11

How to change the position of the elements in the block horizontally?

The question is this. There is a layout, in the layout there is an "About" block in which the reviews go down and through one, the review is mirrored horizontally. So here is how it can be done with css. The idea was to do it somehow through :nth-child and order, change the sequence of text and image. Or all the same, you need to create a separate Item-left and item-right.
I'm attaching a screenshot of the layout below.
61044ab9c4cdb741889568.jpeg

Do not hit for a possibly stupid question, I'm just starting my journey in the field of layout.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Ugolnikov, 2021-07-30
@Dxpression

via :nth-child and order

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question