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
Animações com CSS3 | Animations with CSS3
Search
Juliana Negreiros
May 12, 2018
Technology
0
23
Animações com CSS3 | Animations with CSS3
- SorocabaCSS 3ª edição (12/05/2018)
Juliana Negreiros
May 12, 2018
Tweet
Share
More Decks by Juliana Negreiros
See All by Juliana Negreiros
Um guia para começar no mundo Front End
juunegreiros
0
340
Desmistificando a área de TI
juunegreiros
0
84
Como otimizar seu site com lighthouse e core web vitals
juunegreiros
0
440
Introdução ao Git
juunegreiros
0
60
Webpacker e a Jornada do Heroi
juunegreiros
0
34
Como modularizar seu front-end sem depender de um framework
juunegreiros
0
91
Sopa de Letrinhas CSS | Alphabet soup CSS
juunegreiros
1
78
Pensando logicamente: introdução à lógica de programação | Thinking logically: introduction to programming logic
juunegreiros
0
66
Carreiras em TI
juunegreiros
0
59
Other Decks in Technology
See All in Technology
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
580
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.5k
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
420
Tebiki Engineering Team Deck
tebiki
0
24k
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
240
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
240
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
440
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
Webhook best practices for rock solid and resilient deployments
glaforge
2
300
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
300
20260204_Midosuji_Tech
takuyay0ne
1
160
【Ubie】AIを活用した広告アセット「爆速」生成事例 | AI_Ops_Community_Vol.2
yoshiki_0316
1
110
Featured
See All Featured
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
62
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Side Projects
sachag
455
43k
Producing Creativity
orderedlist
PRO
348
40k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
170
What's in a price? How to price your products and services
michaelherold
247
13k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
130
Are puppies a ranking factor?
jonoalderson
1
2.7k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
310
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
420
Transcript
ANIMAÇÕES COM CSS3
juliana negreiros @juunegreiros
Por que usamos animações?
Comunicação: o mundo é movimento!
reações à ações importam
Era uma vez...
E então o Hover aconteceu!
E COM ELE UM MUNDO NOVO REPLETO DE OPORTUNIDADES PARA
INOVAR A ENTREGA DE INFORMAÇÕES PARA O USUÁRIO <3
MICROINTERAÇÕES
CARROSSEL
BOTÕES DE STATUS
LOADING
MENU HAMBÚRGUER
QUANDO USAMOS ANIMAÇÕES?
ANIMAÇÕES TEM QUE TER UM PROPÓSITO!
DESTACAR LOCAIS QUE possuam INTERAÇÕES
adicionar e remover arquivos
contar histórias
chamar atenção
SEM EXAGEROS!
DIVERTIR O USUÁRIO!
POR QUE CSS AO INVÉS DE JS?
SE SUA ANIMAÇÃO QUEBRAR, SÓ A SUA ANIMAÇÃO QUEBROU
VELOCIDADE DE PROCESSAMENTO
MANUTENÇÃO
COMO ANIMAR AS COISAS?
None
transition
.botao { background-color: red; transition: background-color 2s fade-in; } .botao:hover
{ background-color: blue; }
Quando usar?
propriedades transition: propriedade duração time-function delay;
Duration .botao { transition-duration: 2s; }
timing function .botao { transition-timing-function: ease; }
None
delay .botao { transition-delay: 1s; }
animations
@keyframes animar { 0%{ transform: scale(1); } 50% { transform:
scale(1.5); } 100%{ transform: scale(.5); } } .botao { animation: animar 1s; }
Quando usar?
propriedades
name .botao { animation-name: animar; }
duration .botao { animation-duration: 2s; }
timing function .botao { animation-timing-function: ease; }
Delay .botao { animation-delay: 0s; }
iteration count .botao { animation-iteration-count: 1; }
direction .botao { animation-direction: normal; }
fill mode .botao { animation-fill-mode: none; }
play state .botao { animation-play-state: running; }
transform
matrix translate scale rotate perspective
filter
por onde começar?
o que eu quero fazer?
None
de quais elementos vou precisar?
quais movimentos meus elementos irão fazer?
Codepen
animações com svg
scalable vector graphics
coordenadas
None
js + css
controlar estados da animação
codepen
can i use
aceitação
não esqueça dos prefixos <3
referências
youmightnotneedj s caniuse css-tricks
obrigada!