W
W
WebforSelf2020-12-26 02:19:21
css
WebforSelf, 2020-12-26 02:19:21

How to make flex 3 in a row?

There are such blocks on flex



Why having

flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;


They stand 2 in a row, not 3?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Steppp, 2020-12-26
@WebforSelf

Take away the paddings, they are added to 33.33333% and that is already 40%!
Or add styles

* {
  box-sizing: border-box
}

5fe6792762be6462395835.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question