html与css
幼儿园吃饭第一名949
遇到你
展开
-
移动端流式布局
移动端流式布局第一种:利用column-count属性<view class="greatGood"> <view class="greatGoodItem" v-for="(item,index) in great" :key="index" :style="{backgroundColor:item.backColor,height:item.height+'px'}" > </view></view> .greatGood原创 2021-03-10 21:57:24 · 82 阅读 · 0 评论 -
css中文字超出部分以省略号显示
css中文字超出部分以省略号显示单行white-space:nowrap;overflow:hidden;text-overflow:ellipsis;多行word-break: break-all;text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;...原创 2021-03-06 19:13:52 · 76 阅读 · 0 评论