Answer the question
In order to leave comments, you need to log in
Flexbox, how to bind an element's position in a row?
In short, even I’m a bit of a dinosaur and I’m late with practice on flex, I read it, played around and scored, and now I’m suffering ...
In general, I’m interested in such a moment, is it possible to stake an element at a certain position in a line (without using absolute positioning), for example, by center / right /left, regardless of the number of neighboring elements. Here's a little visualization of what I mean .
All that came to my mind was to make the elements columns and set their position through align-self, but the catch is that these are still columns and I can’t put them in a line.
Ps I know about hacks with margin left / right, but I need a single style, because suppose I don’t have information about which of the elements will disappear (right or left) in order to add margin.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question