SlideShare una empresa de Scribd logo
1 de 64
Descargar para leer sin conexión
CSS3



   The Truth Is Out There...
Credits ( http://lea.verou.me/ )
Bobby Chen




                   Shanghai

                                          Taiwan




    South Africa
                              Australia
Name      :        (Bobby)
Job       :
Hobbies   : Technology, Movie, Pub, Music etc...
Website   : caspercby.me
htt
   p:/
      /ca
         sp
           erc
               .
              by
                 me
发
UI 设计
过 CSS 3 ?
CSS3



   The Truth Is Out There...
CSS 3 Prefix

  -o-                                -ms-



-webkit-                            -moz-
    http://leaverou.github.com/prefixfree/
Transparency or RGBA           Rotation


       Multiple background              Outlines



          Border Radius
 Text-shadow                                   Box shadow
                       Animation


          Columns                  gradients
ter
                           in se
                          o p
                         P li
                      gh El ions
                    ou ble sit
                   r i
                  h x
                 T le
            ass F         T Ban tton
                            r u
           P es          g o
                       in di
        e lin unc a
      iz ut                      tion
    S O
 ab le or B x      o & R Posi
T ip        s ckbo ern & nt
   lt Cur e
  u e
M r            h
             C d Pa ng tt Cou
    o um
  M st            n ibili
       u kg r
     C c       ou S
        Ba
CSS Border Radius
     Different Ways...
CSS Border Radius
     Different Ways...
CSS Border Radius
     Different Ways...
CSS Border Radius
     Different Ways...
          Demo
Bro M
                               ws od
CSS Border Radius                er S ern
                                     up
                                        por
                                           t
  Since IE10
    Internet Explorer
  Supported
                           Firefox
  Supported
                            Opera
  Supported (in nightly)
                           Webkit
Modern
     Browser Support
Version 10 +
  Internet Explorer
Version 7 +
                         Firefox
Version 11.5 +
                          Opera
Version 5.1 + (Safari)
                         Webkit
Bro M
                  ws od
CSS Border Radius   er S ern
                        up
                           por
                              t
  Supported
    Internet Explorer
  Supported
              Firefox
  Supported
               Opera
  Supported
              Webkit
CSS Transition
        Transform
CSS Transition
        Transform
      Demo
Bro M
                         ws od
CSS Border Radius          er S ern
                               up
                                  por
         Transform                   t
  Supported
    Internet Explorer
  Supported
                     Firefox
  Supported
                      Opera
  Supported
                     Webkit
Bouncing Transitions
      Element Positioning
Bouncing Transitions
      Element Positioning
Bouncing Transitions
      Element Positioning
Bouncing Transitions
      Element Positioning
Bouncing Transitions
      Element Positioning
Bouncing Transitions
      Element Positioning
transition:2s;
Bouncing Transitions
      Element Positioning


                  GFW




 transition:4s;
Bouncing Transitions
      Element Positioning
                 cubic-bezier


                     GFW




   transition:4s; 4s ease-in-out;
transition-timing-function:cubic-bezier(0,1,1,0);
   transition: all
Bouncing Transitions
      Element Positioning
               Demo




       http://cubic-bezier.com
Bro M
                                ws od
Bouncing Transitions              er S ern
                                      up
           cubic-bezier                  por
                                            t
   Since IE10
     Internet Explorer
   Supported
                            Firefox
   Supported
                             Opera
   Supported (in nightly)
                            Webkit
Multiple Outlines
     Box-Shadow Spread
Multiple Outlines
     Box-Shadow Spread
 box-shadow: 0 0 5px white;




                 LOOK HERE
                   o(O.O)o
Multiple Outlines
     Box-Shadow Spread
          Demo


        LOOK HERE
          o(O.O)o
Multiple Outlines
     Box-Shadow Spread
    box-shadow: 0 0 0 5px black,
                0 0 0 10px gold,
                0 0 0 20px black,
                0 0 0 35px white;




             LOOK HERE
               o(O.O)o
Bro M
                                ws od
Multiple Outlines                 er S ern
                                      up
      Multiple Outline   Effect         por
                                           t
    Supported
      Internet Explorer
    Supported
                           Firefox
    Supported
                              Opera
    Supported
                            Webkit
Click Through Object
          Pointer-Events
Cyril
Click Through Object
          Pointer-Events
                   Tag Cloud




     http://demos.hacks.mozilla.org/openweb/pointer-events/
Click Through Object
          Pointer-Events
                          Tag Cloud



background: -moz-linear-gradient(right center , #002233
                 pointer-events:none;0 transparent;
40px, rgba(0, 34, 51, 0)) repeat scroll 0


            http://demos.hacks.mozilla.org/openweb/pointer-events/
Click Through Object
          Pointer-Events
                          Demo




           pointer-events:none;

     http://demos.hacks.mozilla.org/openweb/pointer-events/
Click Through Object
          Pointer-Events
    Not Supported
      Internet Explorer
    Supported, Since 3.6
                           Firefox
    Not Supported
                            Opera
    Supported
                           Webkit
Click Through Object
          Pointer-Events
             Javascript Workaround
function noPointerEvents (element) {
	 $(element).bind('click mouseover', function (evt) {
	 	 this.style.display = 'none';
	 	 var x = evt.pageX, y = evt.pageY,
	 	   under = document.elementFromPoint(x, y);
	 	 this.style.display = '';
	 	 evt.stopPropagation();
	 	 evt.preventDefault();
	 	 $(under).trigger(evt.type);
	 });
}
http://www.w3schools.com/cssref/css_selectors.asp
http://w3ctech.com/b/archives/617
Custom Input Design
    Fancy Checkbox / Radio
Custom Input Design
    Fancy Checkbox / Radio
        css => :checked
Bro M
                             ws od
Custom Input Design            er S ern
                                   up
         css=> :checked              por
                                        t
    Supported
      Internet Explorer
    Supported
                      Firefox
    Supported
                          Opera
    Supported
                          Webkit
Sequential Styling
           Sibling Count
Sequential Styling
           Sibling Count
              css => :last-child
:last-child
Sequential Styling
           Sibling Count
               css => :nth-child
:nth-child(2n+1)
Sequential Styling
           Sibling Count
               css => :nth-child
:nth-child(3n+1)
Sequential Styling
           Sibling Count
Bro M
                             ws od
Sequential Styling             er S ern
                                   up
       css => selectors              por
                                        t
  Supported
    Internet Explorer
  Supported
                     Firefox
  Supported
                          Opera
  Supported
                      Webkit
Background Patterns
         With Pure CSS
Background Patterns
         With Pure CSS
         Linear-Gradient




      http://leaverou.me/css3patterns/#
Bro M
                                ws od
Background Patterns               er S ern
                                      up
          Linear-Gradient               por
                                           t
    Supported since IE10
      Internet Explorer
    Supported
                           Firefox
    Supported (Radial gradients in v12)
                             Opera
    Supported (Safari since 5.1)
                            Webkit
htt
         p:/
            /ca
               sp
                 erc
                     .
                    by
                       me
Th
  ank
      You
         !

Más contenido relacionado

Similar a xfiles sharing

CouchDB - Local Web Platform
CouchDB - Local Web PlatformCouchDB - Local Web Platform
CouchDB - Local Web PlatformChris Anderson
 
Scala in practice - 3 years later
Scala in practice - 3 years laterScala in practice - 3 years later
Scala in practice - 3 years laterpatforna
 
Scala in-practice-3-years by Patric Fornasier, Springr, presented at Pune Sca...
Scala in-practice-3-years by Patric Fornasier, Springr, presented at Pune Sca...Scala in-practice-3-years by Patric Fornasier, Springr, presented at Pune Sca...
Scala in-practice-3-years by Patric Fornasier, Springr, presented at Pune Sca...Thoughtworks
 
Devoxx 2009: The Lift Framework
Devoxx 2009: The Lift FrameworkDevoxx 2009: The Lift Framework
Devoxx 2009: The Lift FrameworkTimothy Perrett
 
Progressive enhancement - Bridging the gap between CSS2 and CSS3
Progressive enhancement - Bridging the gap between CSS2 and CSS3Progressive enhancement - Bridging the gap between CSS2 and CSS3
Progressive enhancement - Bridging the gap between CSS2 and CSS3Zohar Arad
 
[WebVisions 2010] CSS3 Workshop (Afternoon)
[WebVisions 2010] CSS3 Workshop (Afternoon)[WebVisions 2010] CSS3 Workshop (Afternoon)
[WebVisions 2010] CSS3 Workshop (Afternoon)Christopher Schmitt
 
JavaScript-based Visualization in R
JavaScript-based Visualization in RJavaScript-based Visualization in R
JavaScript-based Visualization in RFan Li
 
Modern Browser Support
Modern Browser SupportModern Browser Support
Modern Browser SupportMark Meeker
 
Realtime Streaming using Autobahn Websockets
Realtime Streaming using Autobahn WebsocketsRealtime Streaming using Autobahn Websockets
Realtime Streaming using Autobahn WebsocketsTom Sheffler
 
SVG in Opera’s desktop, mobile & TV browsers — edition 2011
SVG in Opera’s desktop, mobile & TV browsers  — edition 2011SVG in Opera’s desktop, mobile & TV browsers  — edition 2011
SVG in Opera’s desktop, mobile & TV browsers — edition 2011Andreas Bovens
 
Seaside Portability
Seaside PortabilitySeaside Portability
Seaside Portabilityjfitzell
 
HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗Bobby Chen
 
Progressive enhancement
Progressive enhancementProgressive enhancement
Progressive enhancementZohar Arad
 
Building WebSocket and Server Side Events Applications using Atmosphere
Building WebSocket and Server Side Events Applications using AtmosphereBuilding WebSocket and Server Side Events Applications using Atmosphere
Building WebSocket and Server Side Events Applications using Atmospherejfarcand
 

Similar a xfiles sharing (20)

CouchDB Google
CouchDB GoogleCouchDB Google
CouchDB Google
 
CouchDB - Local Web Platform
CouchDB - Local Web PlatformCouchDB - Local Web Platform
CouchDB - Local Web Platform
 
[heweb11] CSS3 Makeover
[heweb11] CSS3 Makeover[heweb11] CSS3 Makeover
[heweb11] CSS3 Makeover
 
Edge of the Web
Edge of the WebEdge of the Web
Edge of the Web
 
Scala in practice - 3 years later
Scala in practice - 3 years laterScala in practice - 3 years later
Scala in practice - 3 years later
 
Scala in-practice-3-years by Patric Fornasier, Springr, presented at Pune Sca...
Scala in-practice-3-years by Patric Fornasier, Springr, presented at Pune Sca...Scala in-practice-3-years by Patric Fornasier, Springr, presented at Pune Sca...
Scala in-practice-3-years by Patric Fornasier, Springr, presented at Pune Sca...
 
Devoxx 2009: The Lift Framework
Devoxx 2009: The Lift FrameworkDevoxx 2009: The Lift Framework
Devoxx 2009: The Lift Framework
 
Progressive enhancement - Bridging the gap between CSS2 and CSS3
Progressive enhancement - Bridging the gap between CSS2 and CSS3Progressive enhancement - Bridging the gap between CSS2 and CSS3
Progressive enhancement - Bridging the gap between CSS2 and CSS3
 
CSS3 3D Workshop
CSS3 3D WorkshopCSS3 3D Workshop
CSS3 3D Workshop
 
[WebVisions 2010] CSS3 Workshop (Afternoon)
[WebVisions 2010] CSS3 Workshop (Afternoon)[WebVisions 2010] CSS3 Workshop (Afternoon)
[WebVisions 2010] CSS3 Workshop (Afternoon)
 
JavaScript-based Visualization in R
JavaScript-based Visualization in RJavaScript-based Visualization in R
JavaScript-based Visualization in R
 
Modern Browser Support
Modern Browser SupportModern Browser Support
Modern Browser Support
 
Realtime Streaming using Autobahn Websockets
Realtime Streaming using Autobahn WebsocketsRealtime Streaming using Autobahn Websockets
Realtime Streaming using Autobahn Websockets
 
Opa hackathon
Opa hackathonOpa hackathon
Opa hackathon
 
SVG in Opera’s desktop, mobile & TV browsers — edition 2011
SVG in Opera’s desktop, mobile & TV browsers  — edition 2011SVG in Opera’s desktop, mobile & TV browsers  — edition 2011
SVG in Opera’s desktop, mobile & TV browsers — edition 2011
 
Seaside Portability
Seaside PortabilitySeaside Portability
Seaside Portability
 
The State of Web Type
The State of Web TypeThe State of Web Type
The State of Web Type
 
HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗
 
Progressive enhancement
Progressive enhancementProgressive enhancement
Progressive enhancement
 
Building WebSocket and Server Side Events Applications using Atmosphere
Building WebSocket and Server Side Events Applications using AtmosphereBuilding WebSocket and Server Side Events Applications using Atmosphere
Building WebSocket and Server Side Events Applications using Atmosphere
 

Último

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 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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...Drew Madelung
 
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.pdfUK Journal
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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 Servicegiselly40
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
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 slidevu2urc
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Último (20)

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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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...
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

xfiles sharing

  • 1. CSS3 The Truth Is Out There...
  • 3.
  • 4.
  • 5. Bobby Chen Shanghai Taiwan South Africa Australia
  • 6.
  • 7. Name : (Bobby) Job : Hobbies : Technology, Movie, Pub, Music etc... Website : caspercby.me
  • 8. htt p:/ /ca sp erc . by me
  • 9.
  • 11.
  • 13. CSS3 The Truth Is Out There...
  • 14. CSS 3 Prefix -o- -ms- -webkit- -moz- http://leaverou.github.com/prefixfree/
  • 15. Transparency or RGBA Rotation Multiple background Outlines Border Radius Text-shadow Box shadow Animation Columns gradients
  • 16. ter in se o p P li gh El ions ou ble sit r i h x T le ass F T Ban tton r u P es g o in di e lin unc a iz ut tion S O ab le or B x o & R Posi T ip s ckbo ern & nt lt Cur e u e M r h C d Pa ng tt Cou o um M st n ibili u kg r C c ou S Ba
  • 17. CSS Border Radius Different Ways...
  • 18. CSS Border Radius Different Ways...
  • 19. CSS Border Radius Different Ways...
  • 20. CSS Border Radius Different Ways... Demo
  • 21. Bro M ws od CSS Border Radius er S ern up por t Since IE10 Internet Explorer Supported Firefox Supported Opera Supported (in nightly) Webkit
  • 22. Modern Browser Support Version 10 + Internet Explorer Version 7 + Firefox Version 11.5 + Opera Version 5.1 + (Safari) Webkit
  • 23. Bro M ws od CSS Border Radius er S ern up por t Supported Internet Explorer Supported Firefox Supported Opera Supported Webkit
  • 24. CSS Transition Transform
  • 25. CSS Transition Transform Demo
  • 26. Bro M ws od CSS Border Radius er S ern up por Transform t Supported Internet Explorer Supported Firefox Supported Opera Supported Webkit
  • 27. Bouncing Transitions Element Positioning
  • 28. Bouncing Transitions Element Positioning
  • 29. Bouncing Transitions Element Positioning
  • 30. Bouncing Transitions Element Positioning
  • 31. Bouncing Transitions Element Positioning
  • 32. Bouncing Transitions Element Positioning
  • 34. Bouncing Transitions Element Positioning GFW transition:4s;
  • 35. Bouncing Transitions Element Positioning cubic-bezier GFW transition:4s; 4s ease-in-out; transition-timing-function:cubic-bezier(0,1,1,0); transition: all
  • 36. Bouncing Transitions Element Positioning Demo http://cubic-bezier.com
  • 37. Bro M ws od Bouncing Transitions er S ern up cubic-bezier por t Since IE10 Internet Explorer Supported Firefox Supported Opera Supported (in nightly) Webkit
  • 38. Multiple Outlines Box-Shadow Spread
  • 39. Multiple Outlines Box-Shadow Spread box-shadow: 0 0 5px white; LOOK HERE o(O.O)o
  • 40. Multiple Outlines Box-Shadow Spread Demo LOOK HERE o(O.O)o
  • 41. Multiple Outlines Box-Shadow Spread box-shadow: 0 0 0 5px black, 0 0 0 10px gold, 0 0 0 20px black, 0 0 0 35px white; LOOK HERE o(O.O)o
  • 42. Bro M ws od Multiple Outlines er S ern up Multiple Outline Effect por t Supported Internet Explorer Supported Firefox Supported Opera Supported Webkit
  • 43. Click Through Object Pointer-Events
  • 44. Cyril
  • 45. Click Through Object Pointer-Events Tag Cloud http://demos.hacks.mozilla.org/openweb/pointer-events/
  • 46. Click Through Object Pointer-Events Tag Cloud background: -moz-linear-gradient(right center , #002233 pointer-events:none;0 transparent; 40px, rgba(0, 34, 51, 0)) repeat scroll 0 http://demos.hacks.mozilla.org/openweb/pointer-events/
  • 47. Click Through Object Pointer-Events Demo pointer-events:none; http://demos.hacks.mozilla.org/openweb/pointer-events/
  • 48. Click Through Object Pointer-Events Not Supported Internet Explorer Supported, Since 3.6 Firefox Not Supported Opera Supported Webkit
  • 49. Click Through Object Pointer-Events Javascript Workaround function noPointerEvents (element) { $(element).bind('click mouseover', function (evt) { this.style.display = 'none'; var x = evt.pageX, y = evt.pageY, under = document.elementFromPoint(x, y); this.style.display = ''; evt.stopPropagation(); evt.preventDefault(); $(under).trigger(evt.type); }); }
  • 51.
  • 52. Custom Input Design Fancy Checkbox / Radio
  • 53. Custom Input Design Fancy Checkbox / Radio css => :checked
  • 54. Bro M ws od Custom Input Design er S ern up css=> :checked por t Supported Internet Explorer Supported Firefox Supported Opera Supported Webkit
  • 55. Sequential Styling Sibling Count
  • 56. Sequential Styling Sibling Count css => :last-child :last-child
  • 57. Sequential Styling Sibling Count css => :nth-child :nth-child(2n+1)
  • 58. Sequential Styling Sibling Count css => :nth-child :nth-child(3n+1)
  • 59. Sequential Styling Sibling Count
  • 60. Bro M ws od Sequential Styling er S ern up css => selectors por t Supported Internet Explorer Supported Firefox Supported Opera Supported Webkit
  • 61. Background Patterns With Pure CSS
  • 62. Background Patterns With Pure CSS Linear-Gradient http://leaverou.me/css3patterns/#
  • 63. Bro M ws od Background Patterns er S ern up Linear-Gradient por t Supported since IE10 Internet Explorer Supported Firefox Supported (Radial gradients in v12) Opera Supported (Safari since 5.1) Webkit
  • 64. htt p:/ /ca sp erc . by me Th ank You !