diff --git a/css/animation-basic.md.md b/css/animation-basic.md.md new file mode 100644 index 0000000..613dc3b --- /dev/null +++ b/css/animation-basic.md.md @@ -0,0 +1,33 @@ +# animation 基本使用 + +## 基本属性 + +```css +@keyframes fade-in { /* 关键帧名字 */ + from { /* 等效于 0% */ + background-color: red; + } + 50% { + background-color: orange; + } + to { /* 等效于 */ + background-color: yellow; + } +} + +.animation-class { + /* =