仿互站小程序
This commit is contained in:
68
vant/area/index.wxss
Normal file
68
vant/area/index.wxss
Normal file
@@ -0,0 +1,68 @@
|
||||
.van-ellipsis {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.van-multi-ellipsis--l2 {
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.van-multi-ellipsis--l2,.van-multi-ellipsis--l3 {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.van-multi-ellipsis--l3 {
|
||||
-webkit-line-clamp: 3;
|
||||
}
|
||||
|
||||
.van-clearfix:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.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;
|
||||
transform-origin: center;
|
||||
top: -50%;
|
||||
left: -50%;
|
||||
right: -50%;
|
||||
bottom: -50%;
|
||||
transform: scale(.5);
|
||||
border: 0 solid #e5e5e5;
|
||||
}
|
||||
|
||||
.van-hairline--top:after {
|
||||
border-top-width: 1px;
|
||||
}
|
||||
|
||||
.van-hairline--left:after {
|
||||
border-left-width: 1px;
|
||||
}
|
||||
|
||||
.van-hairline--right:after {
|
||||
border-right-width: 1px;
|
||||
}
|
||||
|
||||
.van-hairline--bottom:after {
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
.van-hairline--top-bottom:after {
|
||||
border-width: 1px 0;
|
||||
}
|
||||
|
||||
.van-hairline--surround:after {
|
||||
border-width: 1px;
|
||||
}
|
Reference in New Issue
Block a user