Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
0c8adb02-ade8-47bb-9939-4d45110ffefd.pdf
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
darrenyaoyaoyao
November 06, 2020
Programming
66
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
0c8adb02-ade8-47bb-9939-4d45110ffefd.pdf
darrenyaoyaoyao
November 06, 2020
More Decks by darrenyaoyaoyao
See All by darrenyaoyaoyao
HTML__CSS_基礎二.pdf
darrenyaoyaoyao
0
65
Pug.pdf
darrenyaoyaoyao
0
85
Sass.pdf
darrenyaoyaoyao
0
70
jquery.pdf
darrenyaoyaoyao
1
97
bootstrap.pdf
darrenyaoyaoyao
1
86
Javasrcipt_基礎一.pdf
darrenyaoyaoyao
0
97
Javascript_基礎二.pdf
darrenyaoyaoyao
0
140
HTML__CSS_基礎_.pdf
darrenyaoyaoyao
0
69
HTML__CSS_基礎_.pdf
darrenyaoyaoyao
0
43
Other Decks in Programming
See All in Programming
Claspは野良GASの夢をみるか
takter00
0
180
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
780
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
3.9k
CSC307 Lecture 17
javiergs
PRO
0
320
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
200
Oxlintのカスタムルールの現況
syumai
6
1k
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
0
190
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
160
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
320
Swiftのレキシカルスコープ管理
kntkymt
0
220
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
130
The NotImplementedError Problem in Ruby
koic
1
670
Featured
See All Featured
WENDY [Excerpt]
tessaabrams
11
38k
Bash Introduction
62gerente
615
210k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
380
The Spectacular Lies of Maps
axbom
PRO
1
790
Paper Plane
katiecoart
PRO
1
51k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
200
New Earth Scene 8
popppiees
3
2.3k
Into the Great Unknown - MozCon
thekraken
41
2.6k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
140
The Cult of Friendly URLs
andyhume
79
6.9k
Building AI with AI
inesmontani
PRO
1
1.1k
Transcript
CSS Animation 基礎 讓網⾴動起來
keyframe 關鍵影格 @keyframe move { from { left:0; } to
{ left: 100px; } }
keyframe 的位置可以使⽤百分比 @keyframe move { 0% { background: #fff }
50% { background: #f00 } 100% { background: #000 } }
animation name 動畫名稱 @keyframe move { xxx } @keyframe fade
{ xxx }
animation duration 動畫持續的時間 animation-duration: 5s;
animation delay 動畫延遲的時間 animation-delay: 2s;
animation-timing-function 動畫加速度函式 animation-timing-function: linear; 有 linear, ease, ease-in, ease-out, ease-in-out
等設定
⾙茲曲線 cubic-bezier(n,n,n,n)
animation-direction 動畫播放⽅向 normal reverse alternate alternate-reverse
animation-fill-mode 動畫播放前後模式 none forwards backwards both
:after :before 偽元素
rotate 旋轉 transform-origin 旋轉的中⼼點