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
26
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Animações com CSS3 | Animations with CSS3
- SorocabaCSS 3ª edição (12/05/2018)
Juliana Negreiros
May 12, 2018
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
89
Como otimizar seu site com lighthouse e core web vitals
juunegreiros
0
440
Introdução ao Git
juunegreiros
0
65
Webpacker e a Jornada do Heroi
juunegreiros
0
37
Como modularizar seu front-end sem depender de um framework
juunegreiros
0
93
Sopa de Letrinhas CSS | Alphabet soup CSS
juunegreiros
1
84
Pensando logicamente: introdução à lógica de programação | Thinking logically: introduction to programming logic
juunegreiros
0
69
Carreiras em TI
juunegreiros
0
62
Other Decks in Technology
See All in Technology
AgentGatewayを試してみたかった
tkikuchi
0
120
ポケモンの型をTypeScriptの型システムで表現してみた
subroh0508
0
350
AIにフローを作らせようとして挫折した話
hamatsutaichi
0
230
新規ゲーム開発におけるAI駆動開発のリアル
202409e2
0
2.9k
Amazon Bedrock AgentCore ワークショップ JAWS UG TOHOKU / amazon-bedrock-agentcore-workshop-jawsug-tohoku-2026
gawa
9
460
Chart.js が簡単に使えるようになっていたので OGP 画像生成に使った話
kamekyame
0
170
Socrates × Looker 〜セマンティックレイヤーで進化するデータ分析エージェント〜
hanon52_
1
680
EventBridge Connection
_kensh
5
660
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
3
230
Agentic ERPをどう設計するか ー 受発注エージェントを動かす、現場の知見と設計思想ー
recerqainc
1
1.9k
非エンジニアがClaudeと挑んだ「1ヶ月間プロダクト30本ノック」
askokc
0
130
LLMと共に進化するプロセスを目指して
ymatsuwitter
12
3.6k
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
250
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
Facilitating Awesome Meetings
lara
57
6.9k
Amusing Abliteration
ianozsvald
1
200
The agentic SEO stack - context over prompts
schlessera
0
800
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
160
The Curse of the Amulet
leimatthew05
1
13k
Exploring anti-patterns in Rails
aemeredith
3
400
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
220
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
940
Building Adaptive Systems
keathley
44
3k
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!