版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/nimeghbia/article/details/91048000
普通方式设置左右margin,中间会自动延伸
但是,flex不会,默认大小是0,也就是说flex colum的时候,设置margin,这个标签里面没有内容时,实际上大小还是0,这时候要设置大小才有用
普通方式设置左右margin,中间会自动延伸
但是,flex不会,默认大小是0,也就是说flex colum的时候,设置margin,这个标签里面没有内容时,实际上大小还是0,这时候要设置大小才有用