mirror of
https://github.com/youzan/vant.git
synced 2026-05-05 01:00:55 +08:00
[breaking change] rebuild style struct (#2021)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
@import '../style/var';
|
||||
|
||||
.van-info {
|
||||
left: 100%;
|
||||
top: -.5em;
|
||||
color: @white;
|
||||
font-size: .6em;
|
||||
font-weight: 500;
|
||||
padding: 0 .25em;
|
||||
text-align: center;
|
||||
min-width: 1.4em;
|
||||
line-height: 1.4;
|
||||
position: absolute;
|
||||
border-radius: .7em;
|
||||
box-sizing: border-box;
|
||||
background-color: @red;
|
||||
transform: translateX(-50%);
|
||||
font-family: PingFang SC, Helvetica Neue, Arial, sans-serif;
|
||||
}
|
||||
Reference in New Issue
Block a user