Moving elements in …
 
Notifications
Clear all

[Solved] Moving elements in FlexBox

4 Posts
3 Users
1 Likes
370 Views
0
Topic starter

How would you move items anywhere in a flexbox?

akshajsrivastava akshajsrivastava 06/03/2023 3:43 pm

@jisha-c Hi, could you please elaborate on the phrase “move items anywhere”? I am not quite sure that I understand your question

jisha.c jisha.c Topic starter 07/03/2023 6:29 am

I meant moving item inside a flex container.

Rivek.t Rivek.t 10/03/2023 8:38 am

@jisha-c Yes could you please elaborate or show an image example of the question, thanks.

1 Answer
1

You can use the CSS order property in a flexbox layout to change the order of flex items and move them anywhere within the container. Set the order property to a positive or negative integer to rearrange the order of the items. The order property does not affect the width or height of the flex items, it only changes their order within the flex container.

 

Share: