main.wxss 1.3KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*每个页面公共css */
  2. .van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  3. .van-multi-ellipsis--l2{-webkit-line-clamp:2}
  4. .van-multi-ellipsis--l2,.van-multi-ellipsis--l3{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}
  5. .van-multi-ellipsis--l3{-webkit-line-clamp:3}
  6. .van-clearfix:after{content:"";display:table;clear:both}
  7. .van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}
  8. .van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after{content:" ";position:absolute;pointer-events:none;box-sizing:border-box;-webkit-transform-origin:center;transform-origin:center;top:-50%;left:-50%;right:-50%;bottom:-50%;-webkit-transform:scale(.5);transform:scale(.5);border:0 solid #eee}
  9. .van-hairline--top:after{border-top-width:1px}
  10. .van-hairline--left:after{border-left-width:1px}
  11. .van-hairline--right:after{border-right-width:1px}
  12. .van-hairline--bottom:after{border-bottom-width:1px}
  13. .van-hairline--top-bottom:after{border-width:1px 0}
  14. .van-hairline--surround:after{border-width:1px}