SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
-Webkit-
Transition
The Good, The Bad & The Awesome
Table of Contents
•   Self-introduction: I’m Dave Rupert.

•   What’s -Webkit-Whatsitsface?

•   Can I just see a demo?

•   How do I use it awesomely?

•   Questions/Comments/Concerns/Beer?
I work at Paravel.




...And yes, this is on our actual website.
I host a podcast.
The ATX Web Show
is all about Austinites doing
innovative stu on the web.




If you would like to be on the
show...

Call 409-BEEF-CAR Today!
...And yes, this is my actual Google Voice number.
Let’s Get Started
      But rst...
NO. THIS WILL
NOT WORK IN IE6.
 We can ght about Browsers, Capabilities &
   Graceful Degradation some other day.
   Preferably, NOT on the mailing list :)
But it will work on...




~90 Million Mobile Devices + ~10% of all browsers.
-webkit-transition
a{
     color: blue;
     -webkit-transition: color 2s linear;
}
                CSS Property           Easing
a:hover {
                               Time
  color: red;
}
The Long Way
a{                                   CSS Property
  color:blue;
  -webkit-transition-property: color;
  -webkit-transition-duration: 2s;            Time
  -webkit-transition-timing-function: linear;
}
                                           Easing
a:hover {
  color: red;
}
Multiple Properties
a{
  color:blue;                            CSS Properties
  background-color:white;
  -webkit-transition-property: color, background;
  -webkit-transition-duration: 2s, 5s;            Times
  -webkit-transition-timing-function: linear;
}
a:hover {
                                                Easing
  color: red;
  background-color:pink;
}
All Together Now!
a{
     color: blue;
     -webkit-transition: all 2s linear;
}
           All Properties          Easing
a:hover {
                            Time
  color: red;
}
DEMO
 -TIME-
http://daverupert.com/demos
...aaand
we’re back.
So, What’s
The Big Deal?
This has all been done before
 •   Java Applets

 •   Flash

 •   Javascript

 •   Microsoft DirectX Filters

 •   and now the Browser via CSS
Best Practices?
•   Adding Animations & Transitions
    DOES NOT replace good UX.

•   In fact, in most cases, Animations &
    Transitions are in opposition to Usability.

•   Consider me waiving in a large room...
Don’t Waste Precious Time
• Make it Snappy.
    Don’t Waste Users’ Time.

•   In our non-o cial testing we found
    0.2s~0.3s to be a pretty good feel.

•   Make it faster for repetitive tasks.

•   Consider waiving in a large room...
    (again)
Questions?




      Follow Me @davatron5000
Chunk5 and Goudy Bookletter 1911 from The League of Movable Type

Weitere ähnliche Inhalte

Was ist angesagt?

Integrating Node.js with PHP
Integrating Node.js with PHPIntegrating Node.js with PHP
Integrating Node.js with PHP
Lee Boynton
 
CoffeeScript presentation
CoffeeScript presentationCoffeeScript presentation
CoffeeScript presentation
John Lynch
 
Gearman: A Job Server made for Scale
Gearman: A Job Server made for ScaleGearman: A Job Server made for Scale
Gearman: A Job Server made for Scale
Mike Willbanks
 

Was ist angesagt? (20)

The Mysteries Of JavaScript-Fu (RailsConf Ediition)
The Mysteries Of JavaScript-Fu (RailsConf Ediition)The Mysteries Of JavaScript-Fu (RailsConf Ediition)
The Mysteries Of JavaScript-Fu (RailsConf Ediition)
 
Integrating Node.js with PHP
Integrating Node.js with PHPIntegrating Node.js with PHP
Integrating Node.js with PHP
 
Gearman, Supervisor and PHP - Job Management with Sanity!
Gearman, Supervisor and PHP - Job Management with Sanity!Gearman, Supervisor and PHP - Job Management with Sanity!
Gearman, Supervisor and PHP - Job Management with Sanity!
 
Octopus Deploy and how to stop deploying like an idiot
Octopus Deploy and how to stop deploying like an idiotOctopus Deploy and how to stop deploying like an idiot
Octopus Deploy and how to stop deploying like an idiot
 
Hogarama Demo on Openshift I
Hogarama Demo on Openshift IHogarama Demo on Openshift I
Hogarama Demo on Openshift I
 
KalSMS DarGTUG
KalSMS DarGTUGKalSMS DarGTUG
KalSMS DarGTUG
 
Performance em animações
Performance em animaçõesPerformance em animações
Performance em animações
 
Sprockets
SprocketsSprockets
Sprockets
 
CoffeeScript presentation
CoffeeScript presentationCoffeeScript presentation
CoffeeScript presentation
 
Cucumber.js: Cuke up your JavaScript!
Cucumber.js: Cuke up your JavaScript!Cucumber.js: Cuke up your JavaScript!
Cucumber.js: Cuke up your JavaScript!
 
Gearman: A Job Server made for Scale
Gearman: A Job Server made for ScaleGearman: A Job Server made for Scale
Gearman: A Job Server made for Scale
 
Introducing Rack
Introducing RackIntroducing Rack
Introducing Rack
 
Gearman and asynchronous processing in PHP applications
Gearman and asynchronous processing in PHP applicationsGearman and asynchronous processing in PHP applications
Gearman and asynchronous processing in PHP applications
 
PharoDAYS 2015: Web 2.0 by Esteban Lorenzano
PharoDAYS 2015: Web 2.0 by Esteban LorenzanoPharoDAYS 2015: Web 2.0 by Esteban Lorenzano
PharoDAYS 2015: Web 2.0 by Esteban Lorenzano
 
Distributed Queue System using Gearman
Distributed Queue System using GearmanDistributed Queue System using Gearman
Distributed Queue System using Gearman
 
Web Assembly (W3C TPAC presentation)
Web Assembly (W3C TPAC presentation)Web Assembly (W3C TPAC presentation)
Web Assembly (W3C TPAC presentation)
 
Ruby Proxies for Scale, Performance, and Monitoring
Ruby Proxies for Scale, Performance, and MonitoringRuby Proxies for Scale, Performance, and Monitoring
Ruby Proxies for Scale, Performance, and Monitoring
 
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.comRuby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
 
Clack: glue for web apps
Clack: glue for web appsClack: glue for web apps
Clack: glue for web apps
 
COSTRUIRE INTERFACCE WEB UTILIZZANDO REACTJS (Gabriele Petronella)
COSTRUIRE INTERFACCE WEB UTILIZZANDO REACTJS (Gabriele Petronella)COSTRUIRE INTERFACCE WEB UTILIZZANDO REACTJS (Gabriele Petronella)
COSTRUIRE INTERFACCE WEB UTILIZZANDO REACTJS (Gabriele Petronella)
 

Ähnlich wie Webkit Transitions. The Good, The Bad, & The Awesome

Css3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQueryCss3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQuery
Andrea Verlicchi
 

Ähnlich wie Webkit Transitions. The Good, The Bad, & The Awesome (20)

A web app in pure Clojure
A web app in pure ClojureA web app in pure Clojure
A web app in pure Clojure
 
Web Development: The Next Five Years
Web Development: The Next Five YearsWeb Development: The Next Five Years
Web Development: The Next Five Years
 
HTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwordsHTML5, CSS3, and other fancy buzzwords
HTML5, CSS3, and other fancy buzzwords
 
Beyond the Standards
Beyond the StandardsBeyond the Standards
Beyond the Standards
 
CoffeeScript: The Good Parts
CoffeeScript: The Good PartsCoffeeScript: The Good Parts
CoffeeScript: The Good Parts
 
Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...
 
Html5 more than just html5 v final
Html5  more than just html5 v finalHtml5  more than just html5 v final
Html5 more than just html5 v final
 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
 
Ride The Bus!
Ride The Bus!Ride The Bus!
Ride The Bus!
 
Css3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQueryCss3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQuery
 
Microservices Antipatterns
Microservices AntipatternsMicroservices Antipatterns
Microservices Antipatterns
 
Bringing HTML5 alive in SharePoint
Bringing HTML5 alive in SharePointBringing HTML5 alive in SharePoint
Bringing HTML5 alive in SharePoint
 
StripeCon 2019 talk - Serverless and Silverstripe
StripeCon 2019 talk - Serverless and SilverstripeStripeCon 2019 talk - Serverless and Silverstripe
StripeCon 2019 talk - Serverless and Silverstripe
 
The road to professional web development
The road to professional web developmentThe road to professional web development
The road to professional web development
 
WebSockets wiith Scala and Play! Framework
WebSockets wiith Scala and Play! FrameworkWebSockets wiith Scala and Play! Framework
WebSockets wiith Scala and Play! Framework
 
RWD in the Wild
RWD in the WildRWD in the Wild
RWD in the Wild
 
Scala services in action
Scala services in actionScala services in action
Scala services in action
 
Continuous Testing using Shippable and Docker
Continuous Testing using Shippable and DockerContinuous Testing using Shippable and Docker
Continuous Testing using Shippable and Docker
 
Rails 3.1
Rails 3.1Rails 3.1
Rails 3.1
 
Great Tools Heavily Used In Japan, You Don't Know.
Great Tools Heavily Used In Japan, You Don't Know.Great Tools Heavily Used In Japan, You Don't Know.
Great Tools Heavily Used In Japan, You Don't Know.
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

Webkit Transitions. The Good, The Bad, & The Awesome

  • 2. Table of Contents • Self-introduction: I’m Dave Rupert. • What’s -Webkit-Whatsitsface? • Can I just see a demo? • How do I use it awesomely? • Questions/Comments/Concerns/Beer?
  • 3. I work at Paravel. ...And yes, this is on our actual website.
  • 4. I host a podcast. The ATX Web Show is all about Austinites doing innovative stu on the web. If you would like to be on the show... Call 409-BEEF-CAR Today! ...And yes, this is my actual Google Voice number.
  • 5. Let’s Get Started But rst...
  • 6. NO. THIS WILL NOT WORK IN IE6. We can ght about Browsers, Capabilities & Graceful Degradation some other day. Preferably, NOT on the mailing list :)
  • 7. But it will work on... ~90 Million Mobile Devices + ~10% of all browsers.
  • 8. -webkit-transition a{ color: blue; -webkit-transition: color 2s linear; } CSS Property Easing a:hover { Time color: red; }
  • 9. The Long Way a{ CSS Property color:blue; -webkit-transition-property: color; -webkit-transition-duration: 2s; Time -webkit-transition-timing-function: linear; } Easing a:hover { color: red; }
  • 10. Multiple Properties a{ color:blue; CSS Properties background-color:white; -webkit-transition-property: color, background; -webkit-transition-duration: 2s, 5s; Times -webkit-transition-timing-function: linear; } a:hover { Easing color: red; background-color:pink; }
  • 11. All Together Now! a{ color: blue; -webkit-transition: all 2s linear; } All Properties Easing a:hover { Time color: red; }
  • 15. This has all been done before • Java Applets • Flash • Javascript • Microsoft DirectX Filters • and now the Browser via CSS
  • 16. Best Practices? • Adding Animations & Transitions DOES NOT replace good UX. • In fact, in most cases, Animations & Transitions are in opposition to Usability. • Consider me waiving in a large room...
  • 17. Don’t Waste Precious Time • Make it Snappy. Don’t Waste Users’ Time. • In our non-o cial testing we found 0.2s~0.3s to be a pretty good feel. • Make it faster for repetitive tasks. • Consider waiving in a large room... (again)
  • 18.
  • 19. Questions? Follow Me @davatron5000 Chunk5 and Goudy Bookletter 1911 from The League of Movable Type