flex-layout icon indicating copy to clipboard operation
flex-layout copied to clipboard

.flex-item选择器可以不加float属性

Open shfshanyue opened this issue 9 years ago • 4 comments

您好,我测试了一下,.flex-item以及.flex-item(i)可以不加float:left,另外gulpfile.js文件有个小建议,刚开始便编译less文件,然后再watch,即对default task加个less task的依赖。

shfshanyue avatar Mar 11 '16 10:03 shfshanyue

这个小项目挺久以前的了,当时为什么加float我忘了,可能是为了兼容不支持flex的浏览器,最后好像没兼容成功。

Coffcer avatar Mar 12 '16 06:03 Coffcer

@Coffcer 写的很好而且有创意,受教了。而且您以前那个Vue-Chat也非常好,我也在学vue。

shfshanyue avatar Mar 12 '16 08:03 shfshanyue

gulp那个我正好也在搞,我认为不应该一开始加任务,如果你加了,就算不修改也会生成新的,这是个不太好的。

shuishan2025 avatar May 26 '16 08:05 shuishan2025

桌面端显示4个item 要是想在max-width:992px的时候 显示两个item ,max-width:768px的时候显示一个item 怎么弄啊

aKaigege avatar Mar 01 '17 06:03 aKaigege