SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Downloaden Sie, um offline zu lesen
 
               


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

Weitere ähnliche Inhalte

Andere mochten auch

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Kürzlich hochgeladen (20)

A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 

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