mobi-css / mobi.css

A lightweight, scalable, mobile-first CSS framework
http://getmobicss.com/
MIT License
2.34k stars 145 forks source link

Issue about row, col and flex-left #48

Closed xcatliu closed 7 years ago

xcatliu commented 7 years ago

row and flex-left is kind of overlap. And it's not convenient to use col in flex-left.

Why row need to have margin-left: -15px?

Maybe we need to redesign it.

gitlsl commented 7 years ago

bootstrap 的 .row 就是 -15px 不然 第一个 col会进去15px。。

xcatliu commented 7 years ago

第一个可以用 first-child 解决。 可以参考下其他的框架 http://purecss.io/grids/ http://getskeleton.com/ 都没有 -15px col 也没有 padding

xcatliu commented 7 years ago

http://getmobicss.com/reference/#Flexbox