mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
Merge pull request #151 from ZWkang/dev
fix button actived had 1px blank
This commit is contained in:
commit
12e1abc782
@ -15,13 +15,16 @@
|
||||
&::before {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
opacity: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: inherit;
|
||||
border-color: $black;
|
||||
background-color: $black;
|
||||
border-radius: inherit; /* inherit parent's border radius */
|
||||
border-radius: inherit;/* inherit parent's border radius */
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
}
|
||||
|
||||
&:not([disabled]):active::before {
|
||||
|
Loading…
x
Reference in New Issue
Block a user