I
I
Ilya Derevyannykh2022-04-22 09:12:01
css
Ilya Derevyannykh, 2022-04-22 09:12:01

How to change the positioning of one block in flex or grid?

Only 4 blocks. How to make in one block so that one is for the entire width of the container, and three per line?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Koren, 2022-04-22
@IlyaMalone

Using flexbox, set the width of the first container to 100%.
https://codepen.io/IlyaKoren/pen/RwxOPmP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question