SlideShare uma empresa Scribd logo
1 de 13
Baixar para ler offline
CSS3
                             what’s the fuss about




        DavideDiCillo.com                            @DavideDiCillo
Thursday, October 22, 2009
BORDER RADIUS
                               -moz-border-radius: 20px;
                             -webkit-border-radius: 20px;
                                 border-radius: 20px;
Thursday, October 22, 2009
BORDER IMAGE
          -moz-border-images: url(/images/border-image.png) 5 repeat;
      -webkit-border-images: url(/images/border-image.png) 5 repeat;
          -moz-border-images: url(/images/border-image.png) 5 repeat;

Thursday, October 22, 2009
BOX AND TEXT SHADOW
                               -moz-box-shadow: 10px 10px 25px #ccc;
                             -webkit-box-shadow: 10px 10px 25px #ccc;
                                 box-shadow: 10px 10px 25px #ccc;
                                text-shadow: 10px 10px 25px #ccc;
Thursday, October 22, 2009
RGBA AND OPACITY
                              rgba: (200, 30 30, 0.2);
                                   opacity: 0.5;

Thursday, October 22, 2009
ANY FONT YOU LIKE
         @fontface {
         font-family:‘Museo’;
         src: url(‘/fonts/museo.otf’) format (‘opentype’);

Thursday, October 22, 2009
TRANSFORM
                         -webkit-transform: rotate(45deg);

Thursday, October 22, 2009
GRADIENTS
       -webkit-gradient(linear, 0% 0%, 0% 90%, from(rgba(28, 91, 155, 0.8)),
       to(rgba(108, 191, 255, .9)));



Thursday, October 22, 2009
TRANSITIONS
             div { opacity: 1; -webkit-transition: opacity 1s linear; }
           div:hover { opacity: 0; }


Thursday, October 22, 2009
MUCH MORE

                             Multiple Background Images
                                 Gradient Borders
                                 Columns Support
                                      Masking
                                   Text Overflow


Thursday, October 22, 2009
Firefox      Internet Explorer       Chrome   Safari


                                                              3.2%
                                                                 2.8%
                                       48.0%




                                                                45.9%




                                         PROBLEMS
                                • Only half of the users can render CSS3
                                • Different markup between browsers

Thursday, October 22, 2009
REMEMBER THIS?
                       Only cause we can, doesn’t mean that we have to

Thursday, October 22, 2009
THANKS!
                             DavideDiCillo.com
                              @DavideDiCillo




Thursday, October 22, 2009

Mais conteúdo relacionado

Semelhante a Css3: What is the fuss about

Koubei banquet 32
Koubei banquet 32Koubei banquet 32
Koubei banquet 32
Koubei UED
 
夜宴32期《WordPress and so on》
夜宴32期《WordPress and so on》夜宴32期《WordPress and so on》
夜宴32期《WordPress and so on》
Koubei Banquet
 
CanvasGL, a GPU-accelerated WebKit
CanvasGL, a GPU-accelerated WebKitCanvasGL, a GPU-accelerated WebKit
CanvasGL, a GPU-accelerated WebKit
company100inc
 
Introducing canvas gl (company100)
Introducing canvas gl (company100)Introducing canvas gl (company100)
Introducing canvas gl (company100)
company100inc
 

Semelhante a Css3: What is the fuss about (20)

Koubei banquet 32
Koubei banquet 32Koubei banquet 32
Koubei banquet 32
 
夜宴32期《WordPress and so on》
夜宴32期《WordPress and so on》夜宴32期《WordPress and so on》
夜宴32期《WordPress and so on》
 
CanvasGL, a GPU-accelerated WebKit
CanvasGL, a GPU-accelerated WebKitCanvasGL, a GPU-accelerated WebKit
CanvasGL, a GPU-accelerated WebKit
 
Introducing canvas gl (company100)
Introducing canvas gl (company100)Introducing canvas gl (company100)
Introducing canvas gl (company100)
 
Cloudera Desktop
Cloudera DesktopCloudera Desktop
Cloudera Desktop
 
Scaling webappswithrabbitmq
Scaling webappswithrabbitmqScaling webappswithrabbitmq
Scaling webappswithrabbitmq
 
GeekCamp SG 2009 - CouchApps with CouchDB
GeekCamp SG 2009 - CouchApps with CouchDBGeekCamp SG 2009 - CouchApps with CouchDB
GeekCamp SG 2009 - CouchApps with CouchDB
 
Realtime 3D on the web - a toy or a useful tool?
Realtime 3D on the web - a toy or a useful tool?Realtime 3D on the web - a toy or a useful tool?
Realtime 3D on the web - a toy or a useful tool?
 
Google html5 Tutorial
Google html5 TutorialGoogle html5 Tutorial
Google html5 Tutorial
 
Html5
Html5Html5
Html5
 
Html5 Javascript APIs
Html5 Javascript APIsHtml5 Javascript APIs
Html5 Javascript APIs
 
Webhooks - glue for the web
Webhooks - glue for the webWebhooks - glue for the web
Webhooks - glue for the web
 
Drizzle - Status, Principles and Ecosystem
Drizzle - Status, Principles and EcosystemDrizzle - Status, Principles and Ecosystem
Drizzle - Status, Principles and Ecosystem
 
Google Developer Days Brazil 2009 - Keynote
Google Developer Days Brazil 2009 -  KeynoteGoogle Developer Days Brazil 2009 -  Keynote
Google Developer Days Brazil 2009 - Keynote
 
Websockets - OMG! Someone broke the internet!
Websockets - OMG! Someone broke the internet!Websockets - OMG! Someone broke the internet!
Websockets - OMG! Someone broke the internet!
 
No Really, It's All About You
No Really, It's All About YouNo Really, It's All About You
No Really, It's All About You
 
The Future of HTML Motion Design
The Future of HTML Motion DesignThe Future of HTML Motion Design
The Future of HTML Motion Design
 
Mobile Apps Cross Platform - Droidcon 2009
Mobile Apps Cross Platform - Droidcon 2009Mobile Apps Cross Platform - Droidcon 2009
Mobile Apps Cross Platform - Droidcon 2009
 
Dojo Basics Js UserGroup Chicago
Dojo Basics Js UserGroup ChicagoDojo Basics Js UserGroup Chicago
Dojo Basics Js UserGroup Chicago
 
Adobe Dreamweaver Developer Toolbox
Adobe Dreamweaver Developer ToolboxAdobe Dreamweaver Developer Toolbox
Adobe Dreamweaver Developer Toolbox
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Css3: What is the fuss about

  • 1. CSS3 what’s the fuss about DavideDiCillo.com @DavideDiCillo Thursday, October 22, 2009
  • 2. BORDER RADIUS -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; Thursday, October 22, 2009
  • 3. BORDER IMAGE -moz-border-images: url(/images/border-image.png) 5 repeat; -webkit-border-images: url(/images/border-image.png) 5 repeat; -moz-border-images: url(/images/border-image.png) 5 repeat; Thursday, October 22, 2009
  • 4. BOX AND TEXT SHADOW -moz-box-shadow: 10px 10px 25px #ccc; -webkit-box-shadow: 10px 10px 25px #ccc; box-shadow: 10px 10px 25px #ccc; text-shadow: 10px 10px 25px #ccc; Thursday, October 22, 2009
  • 5. RGBA AND OPACITY rgba: (200, 30 30, 0.2); opacity: 0.5; Thursday, October 22, 2009
  • 6. ANY FONT YOU LIKE @fontface { font-family:‘Museo’; src: url(‘/fonts/museo.otf’) format (‘opentype’); Thursday, October 22, 2009
  • 7. TRANSFORM -webkit-transform: rotate(45deg); Thursday, October 22, 2009
  • 8. GRADIENTS -webkit-gradient(linear, 0% 0%, 0% 90%, from(rgba(28, 91, 155, 0.8)), to(rgba(108, 191, 255, .9))); Thursday, October 22, 2009
  • 9. TRANSITIONS div { opacity: 1; -webkit-transition: opacity 1s linear; } div:hover { opacity: 0; } Thursday, October 22, 2009
  • 10. MUCH MORE Multiple Background Images Gradient Borders Columns Support Masking Text Overflow Thursday, October 22, 2009
  • 11. Firefox Internet Explorer Chrome Safari 3.2% 2.8% 48.0% 45.9% PROBLEMS • Only half of the users can render CSS3 • Different markup between browsers Thursday, October 22, 2009
  • 12. REMEMBER THIS? Only cause we can, doesn’t mean that we have to Thursday, October 22, 2009
  • 13. THANKS! DavideDiCillo.com @DavideDiCillo Thursday, October 22, 2009