SlideShare a Scribd company logo
1 of 57
Implementing
  Awesome
An HTML5/CSS3 Workshop



    Shoshi Roberts
       @Shoshizilla
Hi, I’m Shoshi!
I work For




 mintdigital.com
I Do...
What IS


HTML5?
What IS


HTML5?
Tons of New
 Elements
Layout
<header>      <hgroup>


<nav>

                         <aside>
 <section>

  <article>




<footer>
Text: Elements

<abbr title=“Oh My God”>OMG</abbr>

<small>Good for legalese</small>

<address>555 Sector 5, Planet Earth</address>

<time>April, 1 2050</time>
Text: Formatting

<strong>   = Importance (bold)

<b>        = Stylistically Different

<em>       = Emphasis (italic)

<i>        = Alternate Voice or Mood
MEDIA: Video
<video src="cat.mp4" width="480" height="320"
       type="video/mp4" controls preload></video>
MEDIA: AuDIO
<audio src="cake.mp3" type="audio/mpeg" autoplay></audio>
Semantic
        Hierarchy
<h1>Page Title</h1>

<section>

  <h1>Section Title</h1>

  ...

</section>
Links Just Got
   Awesome
<a href=“/the-future.html”>

  <div>

       <p>Yep, this validates now.</p>

  </div>

</a>
Forms Are
Our Friends
Form: Inputs
<input type=“password”>
            “search”
            “number”
            “range”
            “color”
            “tel”
            “email”
            “url”
            “date”, “week”, “datetime-local”, ...
            “file”
Form: Attributes
<input type=“text” placeholder=“Holding your place...”>
Form: Attributes
<input type=“text” maxlength=“140”>

<input type=“text” required>

<form novalidate>
What Can I
   Use Now?
Updating an Existing Document
Change your
          DOctype

                 <!DOCTYPE html>


                      VS

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<head>


</head>
Cleaner Charset

         <meta charset=”utf-8”>


                  VS

<meta http-equiv="content-type"
      content="text/html; charset=utf-8">
Less is More

<link href=”stylesheet.css” rel=”stylesheet”
      type=”text/css”>
<body>




</body>
Have Fun With
New Elements

     <header> ... </header>


Or for More Compatibility


 <div class=”header”> ... </div>
Less is Still
        More

<script src=”script.js”
        type=”text/javascript”></script>



 Please don’t put me in the <head>.
What About
Older BrowSers?
HTML5Shim/v
code.google.com/p/html5shim/
ModerniZR
 modernizr.com
Experiences
   Will Be
  Different
Just make Sure they’re usable
But Wait!
 There’s More...
Other Awesome
  Features
Stay Up TO Date

html5rocks.com

developers.whatwg.org
CSS3
More Than A Box
<div class=”box”>
  <p>
    I&rsquo;m a box!
  </p>
</div>
div.box {
 width: 250px;
 padding: 135px 25px;
    margin: 60px auto;
 background: #FFF;
 color: #444;
}
div.box p {
    text-align: center;
}
div.box {
      -moz-border-radius:    30px;
      -webkit-border-radius: 30px;
    border-radius:           30px;
}
div.box {
      -moz-border-radius:    300px;
      -webkit-border-radius: 300px;
    border-radius:           300px;
}
Vendor Prefixes
  element {
        -moz-property:    x;
        -webkit-property: x;
        -o-property:      x;
        -ms-property:     x;
      property:           x;
  }
ACCessibility
    caniuse.com
div.box {
    border-top-left-radius: 10px;
    border-bottom-right-radius:     120px;
}
div.box {
    background: #DDD;
    text-shadow: 0 1px 1px #FFF;
}
div.box {
    background: #DDD;
    background: rgba(255,255,255,0.75);
    /*                  r,   g,   b,   a */
}
div.box {
    background: #DDD;
    background: linear-gradient(top, #FFF 0%, #777 100%);
}
div.box {
    background: #DDD;
    background: radial-gradient(
                  rgba(255, 255, 255, 1) 0%,
                  rgba(255, 255, 255, 0) 70%);
}
div.box {
    box-shadow: 10px 10px 0 #FA0;
}
div.box {
    box-shadow: inset 0 0 15px #000;
}
div.box:before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 300px;
    height: 300px;
    z-index: -1;
    background:
      rgba(255,221,0,0.5);
}
div.box {
    position: relative;
}
div.box:after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 300px;
    height: 300px;
    z-index: -2;
    background:
      rgba(255,165,0,0.5);
}
Animations!
div.box:after {
    animation-name:                  rotate;
    animation-duration:              0.6s;
    animation-iteration-count:       infinite;
    animation-timing-function:       linear;
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
Workshop
Make The Most Awesome Box
       (or non-box}


   Want Starter COde?
       bit.ly/pygotham
Questions?
A Special
  Thanks To:
PAM
Gloria
PYGotham
Mint Digital
Happy Hacking!

   Shoshi Roberts
      @Shoshizilla

More Related Content

What's hot

High Performance Front-End Development
High Performance Front-End DevelopmentHigh Performance Front-End Development
High Performance Front-End Development
drywallbmb
 
Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892
Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892
Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892
Deepak Sharma
 
SASS is more than LESS
SASS is more than LESSSASS is more than LESS
SASS is more than LESS
Itai Koren
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
Senthil Kumar
 
Sass: The Future of Stylesheets
Sass: The Future of StylesheetsSass: The Future of Stylesheets
Sass: The Future of Stylesheets
chriseppstein
 
JS.Chi CSS Animations
JS.Chi CSS AnimationsJS.Chi CSS Animations
JS.Chi CSS Animations
Justin Meyer
 
CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書
拓樹 谷
 

What's hot (20)

High Performance Front-End Development
High Performance Front-End DevelopmentHigh Performance Front-End Development
High Performance Front-End Development
 
Lesson 02
Lesson 02Lesson 02
Lesson 02
 
Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892
Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892
Cssbestpracticesjstyleguidejandtips 150830184202-lva1-app6892
 
CSS and image optimization
CSS and image optimizationCSS and image optimization
CSS and image optimization
 
Rapid and Responsive - UX to Prototype with Bootstrap
Rapid and Responsive - UX to Prototype with BootstrapRapid and Responsive - UX to Prototype with Bootstrap
Rapid and Responsive - UX to Prototype with Bootstrap
 
DBIx::Skinnyと仲間たち
DBIx::Skinnyと仲間たちDBIx::Skinnyと仲間たち
DBIx::Skinnyと仲間たち
 
SASS is more than LESS
SASS is more than LESSSASS is more than LESS
SASS is more than LESS
 
Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3
Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3
Post GoGaRuco 2010 hack day at Pivotal Labs : HTML5 & CSS3
 
How to look like a model? MongoDB for Rails apps
How to look like a model? MongoDB for Rails appsHow to look like a model? MongoDB for Rails apps
How to look like a model? MongoDB for Rails apps
 
CSS Walktrough Internship Course
CSS Walktrough Internship CourseCSS Walktrough Internship Course
CSS Walktrough Internship Course
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Sass: The Future of Stylesheets
Sass: The Future of StylesheetsSass: The Future of Stylesheets
Sass: The Future of Stylesheets
 
Haml and Sass Introduction
Haml and Sass IntroductionHaml and Sass Introduction
Haml and Sass Introduction
 
JS.Chi CSS Animations
JS.Chi CSS AnimationsJS.Chi CSS Animations
JS.Chi CSS Animations
 
WordPress 3.4 Theme Customizer
WordPress 3.4 Theme CustomizerWordPress 3.4 Theme Customizer
WordPress 3.4 Theme Customizer
 
CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書CSSプリプロセッサの取扱説明書
CSSプリプロセッサの取扱説明書
 
Css best practices style guide and tips
Css best practices style guide and tipsCss best practices style guide and tips
Css best practices style guide and tips
 
Css frameworks
Css frameworksCss frameworks
Css frameworks
 
Web Components Revolution
Web Components RevolutionWeb Components Revolution
Web Components Revolution
 
Hello, Canvas.
Hello, Canvas.Hello, Canvas.
Hello, Canvas.
 

Similar to Implementing Awesome: An HTML5/CSS3 Workshop

HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference ZürichHTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
Robert Nyman
 
Blog skins396734
Blog skins396734Blog skins396734
Blog skins396734
pantangmrny
 

Similar to Implementing Awesome: An HTML5/CSS3 Workshop (20)

HTML5
HTML5HTML5
HTML5
 
Presentation html5 css3 by thibaut
Presentation html5 css3 by thibautPresentation html5 css3 by thibaut
Presentation html5 css3 by thibaut
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
HTML5, the new buzzword
HTML5, the new buzzwordHTML5, the new buzzword
HTML5, the new buzzword
 
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference ZürichHTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 
Diazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersDiazo: Bridging Designers and Programmers
Diazo: Bridging Designers and Programmers
 
What you need to know bout html5
What you need to know bout html5What you need to know bout html5
What you need to know bout html5
 
CSS3 Takes on the World
CSS3 Takes on the WorldCSS3 Takes on the World
CSS3 Takes on the World
 
Course Tech 2013, Sasha Vodnik, A Crash Course in HTML5
Course Tech 2013, Sasha Vodnik, A Crash Course in HTML5Course Tech 2013, Sasha Vodnik, A Crash Course in HTML5
Course Tech 2013, Sasha Vodnik, A Crash Course in HTML5
 
HTML5 & CSS3 Flag
HTML5 & CSS3 FlagHTML5 & CSS3 Flag
HTML5 & CSS3 Flag
 
SINATRA + HAML + TWITTER
SINATRA + HAML + TWITTERSINATRA + HAML + TWITTER
SINATRA + HAML + TWITTER
 
HTML Web Devlopment presentation css.ppt
HTML Web Devlopment presentation css.pptHTML Web Devlopment presentation css.ppt
HTML Web Devlopment presentation css.ppt
 
css.ppt
css.pptcss.ppt
css.ppt
 
css.ppt
css.pptcss.ppt
css.ppt
 
I Can't Believe It's Not Flash
I Can't Believe It's Not FlashI Can't Believe It's Not Flash
I Can't Believe It's Not Flash
 
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile EventHTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JS
 
Blog skins396734
Blog skins396734Blog skins396734
Blog skins396734
 
CSS and CSS3
CSS and CSS3CSS and CSS3
CSS and CSS3
 

Recently uploaded

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@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

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
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
+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...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
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
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
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...
 

Implementing Awesome: An HTML5/CSS3 Workshop