mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
Merge pull request #151 from ZWkang/dev
fix button actived had 1px blank
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user