The positioning of the blocks?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
21 views
How can you create this design? No matter: Lists, diva, etc, the main thing - efficiency. Many thanks in advance!5ae788a9b6e58526144472.jpeg

The last Div is on the page. The rest are at equal distance from the edge of the page
by | 21 views

4 Answers

0 like 0 dislike
I think logically, the line consists of 2 sub-strings and if one string only one string, then this string must be in the center. For example if there are 4 of diva, the last div (which should be right) does not have to be centered, because, in each row, 2 rows.
Approximately https://codepen.io/VladIT4/pen/OZpOjb
by
0 like 0 dislike
.block {clear:both; width 100px; margin:auto;} .block:nth-child(odd) {float:left;} .block:nth-child(even) {float:right;} .block:last-child {float:none;}
by
0 like 0 dislike
Div1\rDiv2\rDiv3\rDiv4\rDiv5


You have in mind?
by
0 like 0 dislike
Hi) did Flex box and list )
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users