2017年8月28日

摘要: <ul> <li v-for='item in items' @click="showToggle(item)"> <i :class="{'iconfont icon-zuojiantou':item.isA,'iconfont icon-down1':!item.isA}"></i> </li> 阅读全文
posted @ 2017-08-28 14:28 饭米雪 阅读(1758) 评论(0) 推荐(0) 编辑
 
摘要: css3中可以使用calc()来实现自适应布局 例如:width:“calc(100% - 25px)” 使用“+”、“-”、“*” 和 “/”四则运算; 可以使用百分比、px、em、rem等单位; 可以混合使用各种单位进行计算; 表达式中有“+”和“-”时,其前后必须要有空格,如"widht: c 阅读全文
posted @ 2017-08-28 14:17 饭米雪 阅读(2010) 评论(0) 推荐(0) 编辑