移动端重构实战系列0——sandal 和 sheral
结一于2016-07-07 22:17发表
”本系列教程为实战教程,是本人移动端重构经验及思想的一次总结,也是对 sandal [https://github.com/marvin1023/sandal] 及 sheral UI [https://github.com/imweb/sheral] 的一次全方位剖析,首发在 imweb [imweb.io] 和 w3cplus [http://w3cplus.com] 两大站点及“前端Talk”微信公众号,其余所有标注或没有标注来源的均为转载。“<br>——imweb 结一<br>SANDAL是什么<br>简单来说, sandal [https://github.com/marvin1023/sandal]<br>是基于sass的一个移动端css的基础库,提供了一些基础的重置,常用的mixin,如flex布局,等分,水平垂直居中,常用图标等,基于它你可以非常方便快速地扩展出你需要的UI组件,其整体结构设计如下图:<br>sandal [http://7tszky.com1.z0.glb.clouddn.com/Fo_FAyG7ErQn1aJNiagpV98JhYp0]