css3 - flex容器中有三个item,怎么让后两个在一起?
PHP中文网
PHP中文网 2017-04-17 11:38:52
0
5
469

flex容器中有三个item,容器设置:flex容器设置display: flex;justify-content: space-between;怎么让后两个子元素挨在一起?

PHP中文网
PHP中文网

认证0级讲师

reply all(5)
左手右手慢动作

It cannot be done directly through flex, but you can make the last two elements in the same p, and then the p can be flexed with other elements

Peter_Zhu

Just put the last two under one p

小葫芦

At least draw a picture of what it looks like.

洪涛

You can set attributes on child elements!

迷茫

Set row height?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template