mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
vant-css: use hairline classes instead of mixins
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
@import './common/var.css';
|
||||
|
||||
.van {
|
||||
&-modal {
|
||||
position: fixed;
|
||||
@@ -5,17 +7,16 @@
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: rgba(0, 0, 0, 0.701961);
|
||||
transition: all .5s ease-out;
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
transition: .5s ease-out;
|
||||
}
|
||||
|
||||
&-popup {
|
||||
position: fixed;
|
||||
background-color: #fff;
|
||||
background-color: $white;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
backface-visibility: hidden;
|
||||
transition: .2s ease-out;
|
||||
|
||||
&--top {
|
||||
|
Reference in New Issue
Block a user