Hello. Another layout. Can you tell me the best solution on flex? I want the first and last element to be placed on the right and left pressed to the edge, and the middle is exactly centered

http://prntscr.com/mqdcsz

I did the same, but there I applied absolutes in the relativ and pressed everyone to the edge.

clear: both; float: left; left: auto; left: 0; position: absolute; display: block; top: 0; left: 0;" 

maybe there is an optimal solution on flex?

  • One line: justify-content: space-between; css-tricks.com/snippets/css/a-guide-to-flexbox - Alexey Ten
  • I have it set for the parent, I'm talking about the children. I don't know how to press them to the left and right - Amyr Chelokov February
  • They will press themselves - Alexey Ten

0