SlideShare a Scribd company logo
   CSS 3 Stands for Cascading Style Sheets Level
    3.
   CSS 3 is actually not a replacement for CSS2.
   CSS 3 is actually an extension to the CSS 2.1
    specification which was published May 1998.
   CSS 3 work began around the time the CSS 2
    specification was published for
    recommendation.
   Some of the earliest drafts were published June
    1999.
 CSS 3 will extend the CSS 2.1 standard with
  smaller specification documents called
  “Modules.”
 The Good News: This overly preserves
  backward compatibility with CSS 2.1. All
  the features that are in CSS 2.1 will be in CSS
  3.
 The Bad News: Browsers can pick and
  choose which modules they want to adopt.
  This creates a more chaotic development
  environment and therefore slower adoption
  rate.
   Different Modules have different adoption rates.
   Some have been pushed for recommendation by
    the W3C, some have been dropped entirely.
   It is recommended to stay with W3C Recommended
    (REC), Proposed Recommended (PR), and
    Candidate Recommended (CR) modules for
    production environments.
   Working drafts and Announcements should be
    reconsidered for implementation into any
    environment due to the early nature and instability
    across browsers at this time.
   One important thing to remember: just because a
    module has been pushed for recommendation,
    doesn’t mean a browser will automatically adopt it.
   Alternate Row Styling
    › :nth-child , :first-of-type, :last-of-type
   Examples
    ›   Every odd element - :nth-child(odd)
    ›   Every even element - :nth-child(even)
    ›   Every third element - :nth-child(3n)
    ›   Third element only - nth-child(3)
    ›   First Two elements - :nth-child(-n+2)
    ›   Last two elements - :nth-last-child(-n+2)
    ›   Everything but first and last elements - :not(:first-
        of-type):not(:last-of-type)
 Allows you to set conditional styles based
  upon element attributes
 Examples
    › [att^=val] – Represents an element with the att
      attribute whose value begins with the ‘val’
      prefix.
    › [att$=val] - Represents an element with the att
      attribute whose value ends with the ‘val’ suffix.
    › [att*=val] - Represents an element with the att
      attribute whose value contains at least one
      instance of the substring ‘val’.
   :rgba
    › RGB is already part of the CSS 2.1 spec, but
     the new addition is the „a‟. It stands for
     alpha. It allows you to set the opacity of the
     particular element in question.
   :hsl & :hsla
    › Along with RGB, you can now use Hue,
      Saturation, and Lightness values.
   opacity:
    › Allows you to set the opacity of an element.
   Opacity or RGBA?
    › The opacity effect can be achieved with
     both opacity and rgba. The key difference is
     the opacity value sets for the element and
     all of it‟s children. Rgba only sets the alpha
     level of its current element.
   Multiple Backgrounds
    › You can now specify multiple background
      images in an element.
    › Examples
       background-image: url(image-1.png),
        url(image-2.png);
       background-position: center bottom, left top;
   background-size:
    › Allows you to specify the size of the
     background image in question
   border-image:
    › Allows you to create image borders around
     your elements.
   border-radius:
    › Allows you to create rounded corners in your
      elements
   box-shadow:
    › Allows you to create a drop shadow effect
     on your elements.
   Allows you to change styles of elements based
    the width and height of the viewport.
   This allows you to dynamically change the style
    of your page without changing the content.
   This will enable singular development across
    devices, including mobile, by dynamically
    changing how the style displays based upon
    minimum and maximum widths of the viewport.
    › @media all and (min-width: ) {…}
    › @media all and (max-width: ) {…}
   There are also several „Profiles‟ designed
    to suit different media.
    › Print – Widely adopted. (LC) status.
    › TV Profile – Meant to address the color
      specifications tailored to the needs and
      constraints of TV devices. (CR Status).
    › Mobile Profile – Aimed at achieving
      interoperability between full and constrained
      mobile devices. (LC Status).
   Be weary of any module below
    Candidate Recommendation in a
    Production Environment.
   Think Progressive Enhancement
    › Website and app visuals that are critical to
     the user experience should not be
     dependent on CSS3. CSS3 should be used to
     enrich and enhance an already fully-
     functional experience.
   Use Fallbacks
    › Be sure to list the most important elements
      first, so it serves as the fallback.
    › Use alternate style sheets for different
      browsers or browser-specific syntax as a
      fallback when appropriate.
   Modernizr
    › Modernizr is a javascript library that allows
      you to use the features of HTML5 and CSS 3
      while not sacrificing the compatibility of
      older browsers.
    › It is a great starting point for developers who
      have projects or clients that “require” a
      newer feature but still want to maintain
      backward compatibility.
 This is by no means an exhaustive list of
  everything CSS 3 can do.
 The development is gaining momentum,
  so be sure to look for changes, new
  modules, and enhancements in the
  coming months.
 I encourage you to try out some of the
  new features in CSS 3. You will be very
  surprised at how far it has come.
 Thanks for listening!

More Related Content

Viewers also liked

Data Loading With Magento
Data Loading With MagentoData Loading With Magento
Data Loading With Magento
Ryan Street
 
Drupal commerce + search api (solr)
Drupal commerce + search api (solr)Drupal commerce + search api (solr)
Drupal commerce + search api (solr)
Ryan Street
 
Pendle kitchens
Pendle kitchensPendle kitchens
Pendle kitchensalf16870
 
Year 12 Introduction to 6th Form 2012 2013
Year 12 Introduction to 6th Form 2012 2013Year 12 Introduction to 6th Form 2012 2013
Year 12 Introduction to 6th Form 2012 2013axc55
 
PaginLIbro Totò di Alberto De Marco Duilio Paoluzzi "Antonio De Curtis Il Gra...
PaginLIbro Totò di Alberto De Marco Duilio Paoluzzi "Antonio De Curtis Il Gra...PaginLIbro Totò di Alberto De Marco Duilio Paoluzzi "Antonio De Curtis Il Gra...
PaginLIbro Totò di Alberto De Marco Duilio Paoluzzi "Antonio De Curtis Il Gra...
Massimo Ercolani
 
Sixth form yr 11 evening internal students
Sixth form yr 11 evening internal studentsSixth form yr 11 evening internal students
Sixth form yr 11 evening internal students
axc55
 
UMA ABORDAGEM PARA CLASSIFICAÇÃO DE ANUROS BASEADA EM VOCALIZAÇÕES
UMA ABORDAGEM PARA CLASSIFICAÇÃO DE ANUROS BASEADA EM VOCALIZAÇÕESUMA ABORDAGEM PARA CLASSIFICAÇÃO DE ANUROS BASEADA EM VOCALIZAÇÕES
UMA ABORDAGEM PARA CLASSIFICAÇÃO DE ANUROS BASEADA EM VOCALIZAÇÕES
UFAM - Universidade Federal do Amazonas
 
Carabinieri d'Italia Magazine
Carabinieri d'Italia MagazineCarabinieri d'Italia Magazine
Carabinieri d'Italia Magazine
Massimo Ercolani
 
Tamang Pagtingin sa Sarili (Healthy Self-Image)
Tamang Pagtingin sa Sarili (Healthy Self-Image)Tamang Pagtingin sa Sarili (Healthy Self-Image)
Tamang Pagtingin sa Sarili (Healthy Self-Image)
Michael John Labog
 
Comparison of Top CMS Systems
Comparison of Top CMS SystemsComparison of Top CMS Systems
Comparison of Top CMS Systems
Ryan Street
 
Power pointpsyc380chapter12010
Power pointpsyc380chapter12010Power pointpsyc380chapter12010
Power pointpsyc380chapter12010rashmil105
 
Dokumen standard kssr matematik tahun 1 sk (1)
Dokumen standard kssr matematik tahun 1  sk (1)Dokumen standard kssr matematik tahun 1  sk (1)
Dokumen standard kssr matematik tahun 1 sk (1)Leong Lee
 
Solr site search makes shopping simple
Solr site search makes shopping simpleSolr site search makes shopping simple
Solr site search makes shopping simple
Ryan Street
 
Magento 2 Workflows
Magento 2 WorkflowsMagento 2 Workflows
Magento 2 Workflows
Ryan Street
 
Introduction to Japan
Introduction to JapanIntroduction to Japan
Introduction to Japan
Michael John Labog
 
Start Your Search Engines: Optimizing Solr to Improve Results
Start Your Search Engines: Optimizing Solr to Improve ResultsStart Your Search Engines: Optimizing Solr to Improve Results
Start Your Search Engines: Optimizing Solr to Improve Results
Ryan Street
 
Html 5 and css 3
Html 5 and css 3Html 5 and css 3
Html 5 and css 3
Kamalakannan Sivanandam
 
HTML5 - The 2012 of the Web
HTML5 - The 2012 of the WebHTML5 - The 2012 of the Web
HTML5 - The 2012 of the WebRobert Nyman
 

Viewers also liked (20)

Data Loading With Magento
Data Loading With MagentoData Loading With Magento
Data Loading With Magento
 
Drupal commerce + search api (solr)
Drupal commerce + search api (solr)Drupal commerce + search api (solr)
Drupal commerce + search api (solr)
 
Pendle kitchens
Pendle kitchensPendle kitchens
Pendle kitchens
 
Year 12 Introduction to 6th Form 2012 2013
Year 12 Introduction to 6th Form 2012 2013Year 12 Introduction to 6th Form 2012 2013
Year 12 Introduction to 6th Form 2012 2013
 
PaginLIbro Totò di Alberto De Marco Duilio Paoluzzi "Antonio De Curtis Il Gra...
PaginLIbro Totò di Alberto De Marco Duilio Paoluzzi "Antonio De Curtis Il Gra...PaginLIbro Totò di Alberto De Marco Duilio Paoluzzi "Antonio De Curtis Il Gra...
PaginLIbro Totò di Alberto De Marco Duilio Paoluzzi "Antonio De Curtis Il Gra...
 
Sixth form yr 11 evening internal students
Sixth form yr 11 evening internal studentsSixth form yr 11 evening internal students
Sixth form yr 11 evening internal students
 
UMA ABORDAGEM PARA CLASSIFICAÇÃO DE ANUROS BASEADA EM VOCALIZAÇÕES
UMA ABORDAGEM PARA CLASSIFICAÇÃO DE ANUROS BASEADA EM VOCALIZAÇÕESUMA ABORDAGEM PARA CLASSIFICAÇÃO DE ANUROS BASEADA EM VOCALIZAÇÕES
UMA ABORDAGEM PARA CLASSIFICAÇÃO DE ANUROS BASEADA EM VOCALIZAÇÕES
 
Carabinieri d'Italia Magazine
Carabinieri d'Italia MagazineCarabinieri d'Italia Magazine
Carabinieri d'Italia Magazine
 
Tamang Pagtingin sa Sarili (Healthy Self-Image)
Tamang Pagtingin sa Sarili (Healthy Self-Image)Tamang Pagtingin sa Sarili (Healthy Self-Image)
Tamang Pagtingin sa Sarili (Healthy Self-Image)
 
Comparison of Top CMS Systems
Comparison of Top CMS SystemsComparison of Top CMS Systems
Comparison of Top CMS Systems
 
Power pointpsyc380chapter12010
Power pointpsyc380chapter12010Power pointpsyc380chapter12010
Power pointpsyc380chapter12010
 
Dokumen standard kssr matematik tahun 1 sk (1)
Dokumen standard kssr matematik tahun 1  sk (1)Dokumen standard kssr matematik tahun 1  sk (1)
Dokumen standard kssr matematik tahun 1 sk (1)
 
Solr site search makes shopping simple
Solr site search makes shopping simpleSolr site search makes shopping simple
Solr site search makes shopping simple
 
Magento 2 Workflows
Magento 2 WorkflowsMagento 2 Workflows
Magento 2 Workflows
 
Introduction to Japan
Introduction to JapanIntroduction to Japan
Introduction to Japan
 
Start Your Search Engines: Optimizing Solr to Improve Results
Start Your Search Engines: Optimizing Solr to Improve ResultsStart Your Search Engines: Optimizing Solr to Improve Results
Start Your Search Engines: Optimizing Solr to Improve Results
 
Html 5 and css 3
Html 5 and css 3Html 5 and css 3
Html 5 and css 3
 
Css 3 checklist
Css 3 checklistCss 3 checklist
Css 3 checklist
 
The beginners guide to web hosting
The beginners guide to web hostingThe beginners guide to web hosting
The beginners guide to web hosting
 
HTML5 - The 2012 of the Web
HTML5 - The 2012 of the WebHTML5 - The 2012 of the Web
HTML5 - The 2012 of the Web
 

Similar to CSS 3

Layar Tutorial - 3D Content Creation Tips & Tricks
Layar Tutorial - 3D Content Creation Tips & TricksLayar Tutorial - 3D Content Creation Tips & Tricks
Layar Tutorial - 3D Content Creation Tips & Tricks
Ronald van der Lingen
 
Presentation about html5 css3
Presentation about html5 css3Presentation about html5 css3
Presentation about html5 css3
Gopi A
 
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.comA brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
applicake
 
CSS Methodology
CSS MethodologyCSS Methodology
CSS MethodologyZohar Arad
 
Css3
Css3Css3
KharkivJS: Flaws of the Web Components in 2019 and how to address them
KharkivJS: Flaws of the Web Components in 2019 and how to address themKharkivJS: Flaws of the Web Components in 2019 and how to address them
KharkivJS: Flaws of the Web Components in 2019 and how to address them
Vlad Fedosov
 
Css3
Css3Css3
HTML CSS & Javascript
HTML CSS & JavascriptHTML CSS & Javascript
HTML CSS & Javascript
David Lindkvist
 
Css3 shubelal
Css3   shubelalCss3   shubelal
Css3 shubelal
Shub
 
CSS3 and a brief introduction to Google Maps API v3
CSS3 and a brief introduction to Google Maps API v3 CSS3 and a brief introduction to Google Maps API v3
CSS3 and a brief introduction to Google Maps API v3
Jeffrey Barke
 
CSS 3 Overview
CSS 3 OverviewCSS 3 Overview
CSS 3 Overview
Danilo Sousa
 
Boilerplates: Step up your Web Development Process
Boilerplates: Step up your Web Development ProcessBoilerplates: Step up your Web Development Process
Boilerplates: Step up your Web Development Process
Fibonalabs
 
CSS3 : Animation ,Transitions, Gradients
CSS3 : Animation ,Transitions, GradientsCSS3 : Animation ,Transitions, Gradients
CSS3 : Animation ,Transitions, Gradients
Jatin_23
 
IBM Connect 2016 - AD1548 - Building Responsive XPages Applications
IBM Connect 2016 - AD1548 - Building Responsive XPages ApplicationsIBM Connect 2016 - AD1548 - Building Responsive XPages Applications
IBM Connect 2016 - AD1548 - Building Responsive XPages Applications
beglee
 
CSS-3 Course Slide
CSS-3 Course SlideCSS-3 Course Slide
CSS-3 Course Slide
BoneyGawande
 
Css3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQueryCss3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQueryAndrea Verlicchi
 
Organize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS TricksOrganize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS Tricks
Andolasoft Inc
 
Creating Visual Effects and Animation
Creating Visual Effects and AnimationCreating Visual Effects and Animation
Creating Visual Effects and Animation
Nicole Ryan
 

Similar to CSS 3 (20)

Layar Tutorial - 3D Content Creation Tips & Tricks
Layar Tutorial - 3D Content Creation Tips & TricksLayar Tutorial - 3D Content Creation Tips & Tricks
Layar Tutorial - 3D Content Creation Tips & Tricks
 
Presentation about html5 css3
Presentation about html5 css3Presentation about html5 css3
Presentation about html5 css3
 
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.comA brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
 
CSS Methodology
CSS MethodologyCSS Methodology
CSS Methodology
 
Html5
Html5Html5
Html5
 
Css3
Css3Css3
Css3
 
KharkivJS: Flaws of the Web Components in 2019 and how to address them
KharkivJS: Flaws of the Web Components in 2019 and how to address themKharkivJS: Flaws of the Web Components in 2019 and how to address them
KharkivJS: Flaws of the Web Components in 2019 and how to address them
 
Css3
Css3Css3
Css3
 
HTML CSS & Javascript
HTML CSS & JavascriptHTML CSS & Javascript
HTML CSS & Javascript
 
Css3 shubelal
Css3   shubelalCss3   shubelal
Css3 shubelal
 
Css 3 session1
Css 3 session1Css 3 session1
Css 3 session1
 
CSS3 and a brief introduction to Google Maps API v3
CSS3 and a brief introduction to Google Maps API v3 CSS3 and a brief introduction to Google Maps API v3
CSS3 and a brief introduction to Google Maps API v3
 
CSS 3 Overview
CSS 3 OverviewCSS 3 Overview
CSS 3 Overview
 
Boilerplates: Step up your Web Development Process
Boilerplates: Step up your Web Development ProcessBoilerplates: Step up your Web Development Process
Boilerplates: Step up your Web Development Process
 
CSS3 : Animation ,Transitions, Gradients
CSS3 : Animation ,Transitions, GradientsCSS3 : Animation ,Transitions, Gradients
CSS3 : Animation ,Transitions, Gradients
 
IBM Connect 2016 - AD1548 - Building Responsive XPages Applications
IBM Connect 2016 - AD1548 - Building Responsive XPages ApplicationsIBM Connect 2016 - AD1548 - Building Responsive XPages Applications
IBM Connect 2016 - AD1548 - Building Responsive XPages Applications
 
CSS-3 Course Slide
CSS-3 Course SlideCSS-3 Course Slide
CSS-3 Course Slide
 
Css3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQueryCss3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQuery
 
Organize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS TricksOrganize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS Tricks
 
Creating Visual Effects and Animation
Creating Visual Effects and AnimationCreating Visual Effects and Animation
Creating Visual Effects and Animation
 

Recently uploaded

Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 

Recently uploaded (20)

Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 

CSS 3

  • 1.
  • 2. CSS 3 Stands for Cascading Style Sheets Level 3.  CSS 3 is actually not a replacement for CSS2.  CSS 3 is actually an extension to the CSS 2.1 specification which was published May 1998.  CSS 3 work began around the time the CSS 2 specification was published for recommendation.  Some of the earliest drafts were published June 1999.
  • 3.  CSS 3 will extend the CSS 2.1 standard with smaller specification documents called “Modules.”  The Good News: This overly preserves backward compatibility with CSS 2.1. All the features that are in CSS 2.1 will be in CSS 3.  The Bad News: Browsers can pick and choose which modules they want to adopt. This creates a more chaotic development environment and therefore slower adoption rate.
  • 4. Different Modules have different adoption rates.  Some have been pushed for recommendation by the W3C, some have been dropped entirely.  It is recommended to stay with W3C Recommended (REC), Proposed Recommended (PR), and Candidate Recommended (CR) modules for production environments.  Working drafts and Announcements should be reconsidered for implementation into any environment due to the early nature and instability across browsers at this time.  One important thing to remember: just because a module has been pushed for recommendation, doesn’t mean a browser will automatically adopt it.
  • 5. Alternate Row Styling › :nth-child , :first-of-type, :last-of-type  Examples › Every odd element - :nth-child(odd) › Every even element - :nth-child(even) › Every third element - :nth-child(3n) › Third element only - nth-child(3) › First Two elements - :nth-child(-n+2) › Last two elements - :nth-last-child(-n+2) › Everything but first and last elements - :not(:first- of-type):not(:last-of-type)
  • 6.  Allows you to set conditional styles based upon element attributes  Examples › [att^=val] – Represents an element with the att attribute whose value begins with the ‘val’ prefix. › [att$=val] - Represents an element with the att attribute whose value ends with the ‘val’ suffix. › [att*=val] - Represents an element with the att attribute whose value contains at least one instance of the substring ‘val’.
  • 7. :rgba › RGB is already part of the CSS 2.1 spec, but the new addition is the „a‟. It stands for alpha. It allows you to set the opacity of the particular element in question.
  • 8. :hsl & :hsla › Along with RGB, you can now use Hue, Saturation, and Lightness values.
  • 9. opacity: › Allows you to set the opacity of an element.
  • 10. Opacity or RGBA? › The opacity effect can be achieved with both opacity and rgba. The key difference is the opacity value sets for the element and all of it‟s children. Rgba only sets the alpha level of its current element.
  • 11. Multiple Backgrounds › You can now specify multiple background images in an element. › Examples  background-image: url(image-1.png), url(image-2.png);  background-position: center bottom, left top;
  • 12. background-size: › Allows you to specify the size of the background image in question
  • 13. border-image: › Allows you to create image borders around your elements.
  • 14. border-radius: › Allows you to create rounded corners in your elements
  • 15. box-shadow: › Allows you to create a drop shadow effect on your elements.
  • 16. Allows you to change styles of elements based the width and height of the viewport.  This allows you to dynamically change the style of your page without changing the content.  This will enable singular development across devices, including mobile, by dynamically changing how the style displays based upon minimum and maximum widths of the viewport. › @media all and (min-width: ) {…} › @media all and (max-width: ) {…}
  • 17. There are also several „Profiles‟ designed to suit different media. › Print – Widely adopted. (LC) status. › TV Profile – Meant to address the color specifications tailored to the needs and constraints of TV devices. (CR Status). › Mobile Profile – Aimed at achieving interoperability between full and constrained mobile devices. (LC Status).
  • 18. Be weary of any module below Candidate Recommendation in a Production Environment.
  • 19. Think Progressive Enhancement › Website and app visuals that are critical to the user experience should not be dependent on CSS3. CSS3 should be used to enrich and enhance an already fully- functional experience.
  • 20. Use Fallbacks › Be sure to list the most important elements first, so it serves as the fallback. › Use alternate style sheets for different browsers or browser-specific syntax as a fallback when appropriate.
  • 21. Modernizr › Modernizr is a javascript library that allows you to use the features of HTML5 and CSS 3 while not sacrificing the compatibility of older browsers. › It is a great starting point for developers who have projects or clients that “require” a newer feature but still want to maintain backward compatibility.
  • 22.  This is by no means an exhaustive list of everything CSS 3 can do.  The development is gaining momentum, so be sure to look for changes, new modules, and enhancements in the coming months.  I encourage you to try out some of the new features in CSS 3. You will be very surprised at how far it has come.  Thanks for listening!