Flex implements a layout similar to floating left and right.

clipboard.png

how can I use flex to implement a layout similar to the left and right layout in the red box above

the traditional method is float:left on the left and float: right, on the right. If you don"t know how to implement it with flex, please post the code

.
Mar.12,2021

A div, on the left and a div, parent element on the right only need display:flex; Justify-content:space-between


justify-content:space-between
http://www.lixuejiang.me/2016.


you can take a look at teacher Ruan's blog. It also teaches flex grammar and uses
http://www.ruanyifeng.com/blo.


you'd better find a flex tutorial to play with yourself. Your own practice is more important

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e59544-45536.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e59544-45536.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?