SlideShare une entreprise Scribd logo
1  sur  32
Télécharger pour lire hors ligne
 
               


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

Contenu connexe

En vedette (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
 

Similaire à 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
 

Similaire à 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
 

Dernier

Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsLeah Henrickson
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxFIDO Alliance
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jNeo4j
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideStefan Dietze
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch TuesdayIvanti
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandIES VE
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераMark Opanasiuk
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe中 央社
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...ScyllaDB
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...marcuskenyatta275
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentationyogeshlabana357357
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform EngineeringMarcus Vechiato
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfUK Journal
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftshyamraj55
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!Memoori
 

Dernier (20)

Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 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