[optimize & bug fix] Button: 优化layer, 修复滚动时, gpu占用过高情况 (#336)
* 优化button的layer * [optimize] Button: 把z-index:0; 位置调整
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
border-color: $black;
|
||||
background-color: $black;
|
||||
border-radius: inherit;/* inherit parent's border radius */
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
&:not([disabled]):active::before {
|
||||
|
||||
Reference in New Issue
Block a user