Browse Source

Radio & Checkbox: replace cubic-bezier with ease-in (#11331)

Jikkai Xiao 7 years ago
parent
commit
8ac9467003
2 changed files with 2 additions and 2 deletions
  1. 1 1
      packages/theme-chalk/src/checkbox.scss
  2. 1 1
      packages/theme-chalk/src/radio.scss

+ 1 - 1
packages/theme-chalk/src/checkbox.scss

@@ -217,7 +217,7 @@
       top: 1px;
       transform: rotate(45deg) scaleY(0);
       width: 3px;
-      transition: transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;
+      transition: transform .15s ease-in .05s;
       transform-origin: center;
     }
   }

+ 1 - 1
packages/theme-chalk/src/radio.scss

@@ -169,7 +169,7 @@
       left: 50%;
       top: 50%;
       transform: translate(-50%, -50%) scale(0);
-      transition: transform .15s cubic-bezier(.71,-.46,.88,.6);
+      transition: transform .15s ease-in;
     }
   }