Merge pull request #151 from ZWkang/dev

fix button actived had 1px blank
This commit is contained in:
neverland 2017-09-27 05:15:24 -05:00 committed by GitHub
commit 12e1abc782

View File

@ -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 {