提交 a82a8f5d 编写于 作者: D dolymood

refactor(style): remove 3d Z 0

上级 24cfec55
......@@ -17,12 +17,12 @@ border-1px($color = #ccc, $radius = 2PX, $style = solid)
width: 200%
height: 200%
border-radius: $radius * 2
transform: scale(.5) translateZ(0)
transform: scale(.5)
@media (min-resolution: 3dppx)
width: 300%
height: 300%
border-radius: $radius * 3
transform: scale(.333) translateZ(0)
transform: scale(.333)
border-none()
&::before
......
......@@ -209,9 +209,9 @@
display: flex
flex-direction: column
overflow: hidden
box-shadow: -2px 0 2px rgba(0, 0, 0, .2)
transform: translate3d(0, 0, 0)
transition: transform .3s ease-in-out
box-shadow: -2px 0 2px rgba(0, 0, 0, .2)
.cube-drawer-title
position: relative
padding: 0 20px
......
......@@ -182,11 +182,9 @@
.cube-tip-zoom-enter-active
animation: tip-in .4s
transform: translateZ(0)
.cube-tip-zoom-leave-active
animation: tip-out .2s
transform: translateZ(0)
@keyframes tip-in
0%
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册