mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
fix button actived 1px blank
This commit is contained in:
@@ -15,13 +15,16 @@
|
||||
&::before {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
right: -1px;
|
||||
bottom: -1px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
opacity: 0;
|
||||
background-color: $black;
|
||||
border-radius: inherit; /* inherit parent's border radius */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: inherit;
|
||||
border-color: #000;
|
||||
background-color: #000;
|
||||
border-radius: inherit;/* inherit parent's border radius */
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
}
|
||||
|
||||
&:not([disabled]):active::before {
|
||||
|
Reference in New Issue
Block a user