SlideShare uma empresa Scribd logo
1 de 32
Baixar para ler offline
 
               


Saturday, January 28, 2012
Bling with CSS3:
                             Effect and Animations


                              :
                               |  |  




Saturday, January 28, 2012
Early internet:
                              flaming logos
                                    FTW!!!!!
Saturday, January 28, 2012
Flames, Really?!
  • , .
  •      
  •  
  •  - 



                                    PRATIK PATEL | CTO
Saturday, January 28, 2012
DEMO:
                        FLAMES W/
                           CSS
                               PRATIK PATEL | CTO
Saturday, January 28, 2012
CSS3 magic
  • -   
  •     
  •   
  •     
  •     -
     


                                    PRATIK PATEL | CTO
Saturday, January 28, 2012
-
  ["0 0em 0em #7C0003", "0 -0.05em 0.05em #7C0003", "0 -0.1em 0.1em
  #7C0003", "0 -0.2em 0.2em #C51105", "0 -0.25em 0.25em #C51105", "0
  -0.3em 0.3em #C51105", "0 -0.35em 0.35em #DC3B06", ...




                                                      PRATIK PATEL | CTO
Saturday, January 28, 2012

  $spans = $(this).find('span');
  setInterval(function () {$spans.each(burn);}, 200);




                                                        PRATIK PATEL | CTO
Saturday, January 28, 2012
 
               while (c < colors.length)
          {
               // random height
               s = 2 + Math.round(Math.random() * 1);
               while (s--)
               {
                 // horz vert blur color
                 shadow = '0 ' + h + 'em ' + -h + 'em ' + colors[c];
                 // multiple shadows are supported!
                 textShadows.push(shadow);
                 // height of flame
                 h -= 0.05;
               }
               c++;
     }
  $(this).css({textShadow: textShadows.join(', ')});


                                                              PRATIK PATEL | CTO
Saturday, January 28, 2012
Hey isn’t this a preso on CSS3?
             
        




                                    PRATIK PATEL | CTO
Saturday, January 28, 2012
“THE BEST TRICK ARE THE
                     OLD TRICKS.”
                    "ANONYMOUS

                   “NEW NEEDS NEED NEW
                        TECHNIQUES.”
                     "JACKSON POLLOCK
                                  PRATIK PATEL | CTO
Saturday, January 28, 2012
CSS3
  •                     
                                  




  •   
  •     
  •  ,  .   
    -  .
  • ,   __  

                                                                         PRATIK PATEL | CTO
Saturday, January 28, 2012
   
       1. 
       2. 
       3. 
       4. 
       5. 



                             PRATIK PATEL | CTO
Saturday, January 28, 2012
Using CSS3 for
                             User Interfaces
Saturday, January 28, 2012
Animations
  •  
  •   
  •  - 




                                    PRATIK PATEL | CTO
Saturday, January 28, 2012
DEMO:
              FLASHCARDS

                             PRATIK PATEL | CTO
Saturday, January 28, 2012
Webkit extensions
  •--  :
  • ---
  •---
  •---
  •----
  --: <> <> <_> <> , ...;


                                                                       PRATIK PATEL | CTO
Saturday, January 28, 2012
-
          #cf4 {
          	 position:relative;
          	 margin:0 auto;
          	 -webkit-tap-highlight-color:   rgba(0, 0, 0, 0);	
          	 -webkit-transition: all 0.2s   ease-in-out;
          }
          #cf4 div {
          	 position:absolute;
          	 -webkit-transition: all 0.5s   ease-in-out;
          	 -webkit-tap-highlight-color:   rgba(0, 0, 0, 0);	
          }




                                                            PRATIK PATEL | CTO
Saturday, January 28, 2012
  
            var startXPosition = 0;
            front.addEventListener('mousedown', function(data)
          	       {
                  startXPosition = data.x;
          	   });

            front.addEventListener('mouseup', function(data)
          	 {
                  	 processEnd(data.x);
          	 });

             function processEnd(finalXPosition) {
                  if (startXPosition > finalXPosition+5) {
                      // left swipe
                      nextCard();


                                                             PRATIK PATEL | CTO
Saturday, January 28, 2012
  
               function slideLeft() {
               	console.log('slideLeft');
                  var card = document.getElementById("cf4");

             	 card.style["left"] = "700px";
             	 	 	 setTimeout(function () {
                              card.style["top"] = "-1000px";
                          }, 400);
             	 	 	 setTimeout(function () {
                              card.style["left"] = "-700px";
                          }, 500);
                      setTimeout(function () {
                             card.style["top"] = "0px";
                          }, 600);
            }
          	 card.style["left"] = "0px";

                                                               PRATIK PATEL | CTO
Saturday, January 28, 2012
transition property
  • |  | <>
  • 
  • 
  •  -- 
  •   


                                 PRATIK PATEL | CTO
Saturday, January 28, 2012
Webkit exts in JS
  •         
  
  var front = document.getElementById("front");
  front.style["WebkitTransform"] = "scale
  (0,0)";

  •      -   
  
  •    :
  . += " ";
                                      PRATIK PATEL | CTO
Saturday, January 28, 2012
-
nction flipFront()

var front = document.getElementById("front");
var back = document.getElementById("back");

 front.style["WebkitTransform"] = "scale(0,0)";
// reseting transition settings is quirky
// front.style["WebkitTransition"] = "all 1s ease-in-out;";

back.style["WebkitTransform"] = "scale(1,1)";




                                                      PRATIK PATEL | CTO
Saturday, January 28, 2012
transform
  • 
  • 
  • 
  •
  •
  •
                             PRATIK PATEL | CTO
Saturday, January 28, 2012

  .rotatedY{
    -webkit-transform: rotateY(30deg);
  }

  .rotatedX{
    -webkit-transform: rotateX(30deg);
  }

  .translated{
    -webkit-transform: translate(540px,200px);
  }




                                                 PRATIK PATEL | CTO
Saturday, January 28, 2012
Web to Mobile
  •  :
  • : , 
  • : , 




                              PRATIK PATEL | CTO
Saturday, January 28, 2012
DEMO:
             RUNNING ON
                IPAD
                             PRATIK PATEL | CTO
Saturday, January 28, 2012
Why doesn’t the
          next & previous
          gesture work on the
          iPad?

Saturday, January 28, 2012
More CSS3
  •  
  •  
  •  
  •  



                             PRATIK PATEL | CTO
Saturday, January 28, 2012
DEMO: MORE
               BLING

                             PRATIK PATEL | CTO
Saturday, January 28, 2012
Q&A
Saturday, January 28, 2012
AU REVOIR
                                  PRATIK PATEL
                                      @PRPATEL
                                     PRPATEL@TRIPLINGO.COM




Saturday, January 28, 2012

Mais conteúdo relacionado

Destaque (9)

Say Caldwell
Say CaldwellSay Caldwell
Say Caldwell
 
Design Portfolio
Design PortfolioDesign Portfolio
Design Portfolio
 
May 08
May 08May 08
May 08
 
Digital Techniques
Digital TechniquesDigital Techniques
Digital Techniques
 
Dragons Den - Sex Education Pitch
Dragons Den - Sex Education PitchDragons Den - Sex Education Pitch
Dragons Den - Sex Education Pitch
 
Earth Day - Dia de la Tierra
Earth Day - Dia de la TierraEarth Day - Dia de la Tierra
Earth Day - Dia de la Tierra
 
Graphic Art portfolio
Graphic Art portfolioGraphic Art portfolio
Graphic Art portfolio
 
Wanneer scrum versus waterval g.j.hoge
Wanneer scrum versus waterval   g.j.hogeWanneer scrum versus waterval   g.j.hoge
Wanneer scrum versus waterval g.j.hoge
 
Nazi Germany Theatre
Nazi Germany TheatreNazi Germany Theatre
Nazi Germany Theatre
 

Semelhante a Bling css3

Working with Data and Titanium
Working with Data and TitaniumWorking with Data and Titanium
Working with Data and Titaniumlondontitanium
 
A Primer on Web Components in APEX
A Primer on Web Components in APEXA Primer on Web Components in APEX
A Primer on Web Components in APEXDimitri Gielis
 
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction Mark Ginnebaugh
 
O365Engage17 - Mastering power shell with office 365
O365Engage17 - Mastering power shell with office 365O365Engage17 - Mastering power shell with office 365
O365Engage17 - Mastering power shell with office 365NCCOMMS
 
Testing ASP.NET - Progressive.NET
Testing ASP.NET - Progressive.NETTesting ASP.NET - Progressive.NET
Testing ASP.NET - Progressive.NETBen Hall
 
Matúš Cimerman: Building AI data pipelines using PySpark, PyData Bratislava M...
Matúš Cimerman: Building AI data pipelines using PySpark, PyData Bratislava M...Matúš Cimerman: Building AI data pipelines using PySpark, PyData Bratislava M...
Matúš Cimerman: Building AI data pipelines using PySpark, PyData Bratislava M...GapData Institute
 
How You Convince Your Manager To Adopt Scala.js in Production
How You Convince Your Manager To Adopt Scala.js in ProductionHow You Convince Your Manager To Adopt Scala.js in Production
How You Convince Your Manager To Adopt Scala.js in ProductionBoldRadius Solutions
 
5 docker data_etl and visualization_hands_on
5 docker data_etl and visualization_hands_on5 docker data_etl and visualization_hands_on
5 docker data_etl and visualization_hands_onFEG
 
When Webform and Feeds Aren't Enough
When Webform and Feeds Aren't EnoughWhen Webform and Feeds Aren't Enough
When Webform and Feeds Aren't EnoughForum One
 
springdatajpatwjug-120527215242-phpapp02.pdf
springdatajpatwjug-120527215242-phpapp02.pdfspringdatajpatwjug-120527215242-phpapp02.pdf
springdatajpatwjug-120527215242-phpapp02.pdfssuser0562f1
 
The databases in SSDT: A work with project and best practices
The databases in SSDT: A work with project and best practicesThe databases in SSDT: A work with project and best practices
The databases in SSDT: A work with project and best practicesKamil Nowinski
 
[OSC 2020 Online/Nagoya] MySQLドキュメントストア
[OSC 2020 Online/Nagoya] MySQLドキュメントストア[OSC 2020 Online/Nagoya] MySQLドキュメントストア
[OSC 2020 Online/Nagoya] MySQLドキュメントストアRyusuke Kajiyama
 
Introduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache CassandraIntroduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache CassandraDataStax Academy
 
Bkbiet day2 & 3
Bkbiet day2 & 3Bkbiet day2 & 3
Bkbiet day2 & 3mihirio
 
Users' Data Security in iOS Applications
Users' Data Security in iOS ApplicationsUsers' Data Security in iOS Applications
Users' Data Security in iOS ApplicationsStanfy
 

Semelhante a Bling css3 (20)

Working with Data and Titanium
Working with Data and TitaniumWorking with Data and Titanium
Working with Data and Titanium
 
A Primer on Web Components in APEX
A Primer on Web Components in APEXA Primer on Web Components in APEX
A Primer on Web Components in APEX
 
Real
RealReal
Real
 
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
 
O365Engage17 - Mastering power shell with office 365
O365Engage17 - Mastering power shell with office 365O365Engage17 - Mastering power shell with office 365
O365Engage17 - Mastering power shell with office 365
 
Testing ASP.NET - Progressive.NET
Testing ASP.NET - Progressive.NETTesting ASP.NET - Progressive.NET
Testing ASP.NET - Progressive.NET
 
Matúš Cimerman: Building AI data pipelines using PySpark, PyData Bratislava M...
Matúš Cimerman: Building AI data pipelines using PySpark, PyData Bratislava M...Matúš Cimerman: Building AI data pipelines using PySpark, PyData Bratislava M...
Matúš Cimerman: Building AI data pipelines using PySpark, PyData Bratislava M...
 
How You Convince Your Manager To Adopt Scala.js in Production
How You Convince Your Manager To Adopt Scala.js in ProductionHow You Convince Your Manager To Adopt Scala.js in Production
How You Convince Your Manager To Adopt Scala.js in Production
 
5 docker data_etl and visualization_hands_on
5 docker data_etl and visualization_hands_on5 docker data_etl and visualization_hands_on
5 docker data_etl and visualization_hands_on
 
[edUi] HTML5 Workshop
[edUi] HTML5 Workshop[edUi] HTML5 Workshop
[edUi] HTML5 Workshop
 
When Webform and Feeds Aren't Enough
When Webform and Feeds Aren't EnoughWhen Webform and Feeds Aren't Enough
When Webform and Feeds Aren't Enough
 
springdatajpatwjug-120527215242-phpapp02.pdf
springdatajpatwjug-120527215242-phpapp02.pdfspringdatajpatwjug-120527215242-phpapp02.pdf
springdatajpatwjug-120527215242-phpapp02.pdf
 
The databases in SSDT: A work with project and best practices
The databases in SSDT: A work with project and best practicesThe databases in SSDT: A work with project and best practices
The databases in SSDT: A work with project and best practices
 
[OSC 2020 Online/Nagoya] MySQLドキュメントストア
[OSC 2020 Online/Nagoya] MySQLドキュメントストア[OSC 2020 Online/Nagoya] MySQLドキュメントストア
[OSC 2020 Online/Nagoya] MySQLドキュメントストア
 
Introduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache CassandraIntroduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache Cassandra
 
PDMS Professional
PDMS ProfessionalPDMS Professional
PDMS Professional
 
Bkbiet day2 & 3
Bkbiet day2 & 3Bkbiet day2 & 3
Bkbiet day2 & 3
 
Users' Data Security in iOS Applications
Users' Data Security in iOS ApplicationsUsers' Data Security in iOS Applications
Users' Data Security in iOS Applications
 
Mstr meetup
Mstr meetupMstr meetup
Mstr meetup
 
[heweb11] HTML5 Makeover
[heweb11] HTML5 Makeover[heweb11] HTML5 Makeover
[heweb11] HTML5 Makeover
 

Último

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
 
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 DevelopmentsTrustArc
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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 interpreternaman860154
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
[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.pdfhans926745
 
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
 
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
 
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
 
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
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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 organizationRadu Cotescu
 

Último (20)

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...
 
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
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
[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
 
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
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
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
 
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
 

Bling css3

  • 1.    Saturday, January 28, 2012
  • 2. Bling with CSS3: Effect and Animations  :   |  |   Saturday, January 28, 2012
  • 3. Early internet: flaming logos FTW!!!!! Saturday, January 28, 2012
  • 4. Flames, Really?! • , . •       •   •  -  PRATIK PATEL | CTO Saturday, January 28, 2012
  • 5. DEMO: FLAMES W/ CSS PRATIK PATEL | CTO Saturday, January 28, 2012
  • 6. CSS3 magic • -    •      •    •      •     -     PRATIK PATEL | CTO Saturday, January 28, 2012
  • 7. - ["0 0em 0em #7C0003", "0 -0.05em 0.05em #7C0003", "0 -0.1em 0.1em #7C0003", "0 -0.2em 0.2em #C51105", "0 -0.25em 0.25em #C51105", "0 -0.3em 0.3em #C51105", "0 -0.35em 0.35em #DC3B06", ... PRATIK PATEL | CTO Saturday, January 28, 2012
  • 8.  $spans = $(this).find('span'); setInterval(function () {$spans.each(burn);}, 200); PRATIK PATEL | CTO Saturday, January 28, 2012
  • 9.   while (c < colors.length) { // random height s = 2 + Math.round(Math.random() * 1); while (s--) { // horz vert blur color shadow = '0 ' + h + 'em ' + -h + 'em ' + colors[c]; // multiple shadows are supported! textShadows.push(shadow); // height of flame h -= 0.05; } c++; } $(this).css({textShadow: textShadows.join(', ')}); PRATIK PATEL | CTO Saturday, January 28, 2012
  • 10. Hey isn’t this a preso on CSS3?          PRATIK PATEL | CTO Saturday, January 28, 2012
  • 11. “THE BEST TRICK ARE THE OLD TRICKS.” "ANONYMOUS “NEW NEEDS NEED NEW TECHNIQUES.” "JACKSON POLLOCK PRATIK PATEL | CTO Saturday, January 28, 2012
  • 12. CSS3 •            •    •      •  ,  .      -  . • ,   __   PRATIK PATEL | CTO Saturday, January 28, 2012
  • 13.     1.  2.  3.  4.  5.  PRATIK PATEL | CTO Saturday, January 28, 2012
  • 14. Using CSS3 for User Interfaces Saturday, January 28, 2012
  • 15. Animations •   •    •  -  PRATIK PATEL | CTO Saturday, January 28, 2012
  • 16. DEMO: FLASHCARDS PRATIK PATEL | CTO Saturday, January 28, 2012
  • 17. Webkit extensions •--  : • --- •--- •--- •---- --: <> <> <_> <> , ...; PRATIK PATEL | CTO Saturday, January 28, 2012
  • 18. - #cf4 { position:relative; margin:0 auto; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-transition: all 0.2s ease-in-out; } #cf4 div { position:absolute; -webkit-transition: all 0.5s ease-in-out; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } PRATIK PATEL | CTO Saturday, January 28, 2012
  • 19.    var startXPosition = 0; front.addEventListener('mousedown', function(data) { startXPosition = data.x; }); front.addEventListener('mouseup', function(data) { processEnd(data.x); }); function processEnd(finalXPosition) { if (startXPosition > finalXPosition+5) { // left swipe nextCard(); PRATIK PATEL | CTO Saturday, January 28, 2012
  • 20.    function slideLeft() { console.log('slideLeft'); var card = document.getElementById("cf4"); card.style["left"] = "700px"; setTimeout(function () { card.style["top"] = "-1000px"; }, 400); setTimeout(function () { card.style["left"] = "-700px"; }, 500); setTimeout(function () { card.style["top"] = "0px"; }, 600); } card.style["left"] = "0px"; PRATIK PATEL | CTO Saturday, January 28, 2012
  • 21. transition property • |  | <> •  •  •  --  •    PRATIK PATEL | CTO Saturday, January 28, 2012
  • 22. Webkit exts in JS •           var front = document.getElementById("front"); front.style["WebkitTransform"] = "scale (0,0)"; •      -     •    : . += " "; PRATIK PATEL | CTO Saturday, January 28, 2012
  • 23. - nction flipFront() var front = document.getElementById("front"); var back = document.getElementById("back"); front.style["WebkitTransform"] = "scale(0,0)"; // reseting transition settings is quirky // front.style["WebkitTransition"] = "all 1s ease-in-out;"; back.style["WebkitTransform"] = "scale(1,1)"; PRATIK PATEL | CTO Saturday, January 28, 2012
  • 24. transform •  •  •  • • • PRATIK PATEL | CTO Saturday, January 28, 2012
  • 25.  .rotatedY{ -webkit-transform: rotateY(30deg); } .rotatedX{ -webkit-transform: rotateX(30deg); } .translated{ -webkit-transform: translate(540px,200px); } PRATIK PATEL | CTO Saturday, January 28, 2012
  • 26. Web to Mobile •  : • : ,  • : ,  PRATIK PATEL | CTO Saturday, January 28, 2012
  • 27. DEMO: RUNNING ON IPAD PRATIK PATEL | CTO Saturday, January 28, 2012
  • 28. Why doesn’t the next & previous gesture work on the iPad? Saturday, January 28, 2012
  • 29. More CSS3 •   •   •   •   PRATIK PATEL | CTO Saturday, January 28, 2012
  • 30. DEMO: MORE BLING PRATIK PATEL | CTO Saturday, January 28, 2012
  • 32. AU REVOIR PRATIK PATEL @PRPATEL PRPATEL@TRIPLINGO.COM Saturday, January 28, 2012