中国军情
span标签(flex 属性,用flex来表示占多少份数)

flex 属性定义子项目分配剩余空间,用flex来表示占多少份数。

1、实现效果:一个section里边有3个div,左边一个右边一个剩余的div自适应宽度。

flex 属性,用flex来表示占多少份数nerror="javascript:errorimg.call(this);">

页面效果如下图所示:

flex 属性,用flex来表示占多少份数nerror="javascript:errorimg.call(this);">

2、p标签里边有3个span标签,要求平均分成三等份

flex 属性,用flex来表示占多少份数nerror="javascript:errorimg.call(this);">

flex 属性,用flex来表示占多少份数nerror="javascript:errorimg.call(this);">


顶一下()     踩一下()

热门推荐

发表评论
0评