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
CSS3 - Transitions
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Vicente Mundim
May 24, 2013
Technology
0
98
CSS3 - Transitions
O que são CSS3 transitions? Por que e como usar esse recurso para criar interfaces mais ricas.
Vicente Mundim
May 24, 2013
Tweet
Share
More Decks by Vicente Mundim
See All by Vicente Mundim
Index your Salesforce data in Elasticsearch using the Streaming API
vicentemundim
0
1.4k
Other Decks in Technology
See All in Technology
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
2
170
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
460
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
500
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
150
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
440
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
300
Featured
See All Featured
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
Navigating Team Friction
lara
192
16k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
57
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
Transcript
CSS 3 Transitions V i c e n t e
M u n d i m
Por que?
Quero mover um elemento para a direita... .box { position:
absolute; left: 0; }
Uhmm... Sem graça, não curti :( .box { position: absolute;
left: 0; } .box { position: absolute; left: 200px; }
Agora, com transitions! .box { position: absolute; left: 0; transition:
left 1s ease-in-out; } .box { position: absolute; left: 200px; } Muito melhor!
Agora, com transitions! .box { position: absolute; left: 0; transition:
left 1s ease-in-out; } .box { position: absolute; left: 200px; } Muito melhor!
Como definir transition-property: Propriedade que terá a transição transition-duration: Duração
em segundos ou milisegundos da transição transition-timing-function: Função que determina como os valores são computados. transition-delay: Tempo até que a transição comece a acontecer
Definindo no CSS .all { transition: all 1s ease-out; }
.left { transition: left 1s ease-in 0.5s; } .right.bottom { transition-property: right, bottom; transition-delay: 0.5s; transition-duration: 1s; transition-timing-function: ease-out, ease-in; }
O que pode ser alterado Cores em geral (background-color, border-
color, color, etc) Largura, altura, posicionamento (left, right, top, bottom), margem, padding. Tamanhos de fonte, line-height, word- spacing, etc https://developer.mozilla.org/en-US/docs/ Web/CSS/CSS_animated_properties
Quem pode ser alterado Praticamente qualquer elemento que possa ter
alguma propriedade animada.
Gotchas Propriedade display, ou como fazer um fade in/out. Onde
colocar a propriedade transition?
Compatibilidade http://caniuse.com/#feat=css-transitions
Resources https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/ Using_CSS_transitions http://blog.alexmaccaw.com/css-transitions http://www.css3maker.com/css3-transition.html
Obrigado!