From 1c0cccd7ed4e5d5d76b5f4d643e1a8436d807b26 Mon Sep 17 00:00:00 2001 From: Cee Cirno Date: Wed, 26 Aug 2015 16:58:45 +0800 Subject: [PATCH 1/2] Add spacing --- spec/easing.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/easing.md b/spec/easing.md index 1c3c9b062b..bae97d3ce0 100644 --- a/spec/easing.md +++ b/spec/easing.md @@ -97,7 +97,7 @@ mask:true,exposure:"bottom"}); 弹性动画最好结合 alpha。 -> 慎用Bounce或Elastic,这两种适用在特殊元素下,一般back即可满足页面上元素的弹动; +> 慎用 Bounce 或 Elastic,这两种适用在特殊元素下,一般 back 即可满足页面上元素的弹动;
@@ -110,7 +110,7 @@ mask:false,exposure:"top"}); }) -上图所示缓动函数:绿 `easeOutBounce` `easeOutElastic`( css 需自配), 蓝 `ease-out-back` `ease-in-back`。 +上图所示缓动函数:绿 `easeOutBounce` `easeOutElastic`(css 需自配), 蓝 `ease-out-back` `ease-in-back`。 ## 缓动函数 @@ -128,6 +128,6 @@ Ant Design 提供了一套缓动函数规范动画行为供组件使用。 |@ease-out-circ | `cubic-bezier(0.08,0.82,0.17,1);` |圆形后缓动; | |@ease-in-circ | `cubic-bezier(0.6,0.04,0.98,0.34);` |圆形前缓动; | |@ease-in-out-circ | `cubic-bezier(0.78,0.14,0.15,0.86);` |圆形前后缓动; | -|@ease-out-quint | `cubic-bezier(0.23, 1, 0.32, 1);`| quint后缓动| -|@ease-in-quint | `cubic-bezier(0.755, 0.05, 0.855, 0.06);`|quint前缓动| -|@ease-in-out-quint | `cubic-bezier(0.86, 0, 0.07, 1);`| quint前后缓动| +|@ease-out-quint | `cubic-bezier(0.23, 1, 0.32, 1);`| quint 后缓动| +|@ease-in-quint | `cubic-bezier(0.755, 0.05, 0.855, 0.06);`|quint 前缓动| +|@ease-in-out-quint | `cubic-bezier(0.86, 0, 0.07, 1);`| quint 前后缓动| From c33461ec1d315beace7367a62bfb2638d6a6f7b2 Mon Sep 17 00:00:00 2001 From: Cee Cirno Date: Wed, 26 Aug 2015 17:00:15 +0800 Subject: [PATCH 2/2] Remove semicolons --- spec/easing.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spec/easing.md b/spec/easing.md index bae97d3ce0..0cfb404c7e 100644 --- a/spec/easing.md +++ b/spec/easing.md @@ -119,15 +119,15 @@ Ant Design 提供了一套缓动函数规范动画行为供组件使用。 |名称 |参数 |说明 | |-------------------|------------------------------------------|---------------------------| -|@ease-out | `cubic-bezier(0.215,0.61,0.355,1);` |默认后缓动; | -|@ease-in | `cubic-bezier(0.55,0.055,0.675,0.19);`|默认前缓动; | -|@ease-in-out | `cubic-bezier(0.645,0.045,0.355,1);` |默认前后缓动; | -|@ease-out-back | `cubic-bezier(0.18,0.89,0.32,1.28);` |结束回动; | -|@ease-in-back | `cubic-bezier(0.6,-0.3,0.74,0.05);` |开始回动; | -|@ease-in-out-back | `cubic-bezier(0.68,-0.55,0.27,1.55);` |前后回动; | -|@ease-out-circ | `cubic-bezier(0.08,0.82,0.17,1);` |圆形后缓动; | -|@ease-in-circ | `cubic-bezier(0.6,0.04,0.98,0.34);` |圆形前缓动; | -|@ease-in-out-circ | `cubic-bezier(0.78,0.14,0.15,0.86);` |圆形前后缓动; | +|@ease-out | `cubic-bezier(0.215,0.61,0.355,1);` |默认后缓动 | +|@ease-in | `cubic-bezier(0.55,0.055,0.675,0.19);`|默认前缓动 | +|@ease-in-out | `cubic-bezier(0.645,0.045,0.355,1);` |默认前后缓动 | +|@ease-out-back | `cubic-bezier(0.18,0.89,0.32,1.28);` |结束回动 | +|@ease-in-back | `cubic-bezier(0.6,-0.3,0.74,0.05);` |开始回动 | +|@ease-in-out-back | `cubic-bezier(0.68,-0.55,0.27,1.55);` |前后回动 | +|@ease-out-circ | `cubic-bezier(0.08,0.82,0.17,1);` |圆形后缓动 | +|@ease-in-circ | `cubic-bezier(0.6,0.04,0.98,0.34);` |圆形前缓动 | +|@ease-in-out-circ | `cubic-bezier(0.78,0.14,0.15,0.86);` |圆形前后缓动 | |@ease-out-quint | `cubic-bezier(0.23, 1, 0.32, 1);`| quint 后缓动| |@ease-in-quint | `cubic-bezier(0.755, 0.05, 0.855, 0.06);`|quint 前缓动| |@ease-in-out-quint | `cubic-bezier(0.86, 0, 0.07, 1);`| quint 前后缓动|