SlideShare uma empresa Scribd logo
1 de 18
Front-end Design
and Best Practices
by Mario Hernandez. California Central




                  1
Agenda

• State of the web in the Courts
• HTML & CSS best practices
• The markup
• My design process
• Tools & Resources
                  2
State of the web in the Courts

   • Very little emphasis in standards and
     design in general (Windows & Web)
   • Little to no emphasis on usability and
     accessibility
     (Section 508 & Plain Language Bill)
   • Lack of best practices
                      3
<html /> best practices
• Use lower case when naming your html elements
• Use DIVs to divide your layout
• Use ALT attributes with images
• Separate content from presentation (no inline
  styling)
• Use well structured code (will demo)
• Use proper semantic (will demo)
• Use heading elements wisely (h1, h2, h3, etc)
                          4
#css { } best practices
• Use lower case when writing your css
• Use shorthand as much as possible
• Keep an organized hierarchy when
  composing your css (top to bottom)
• Always use a reset.css file
• Order your css files properly
• Use conditional css files when possible
  <!--[if IE 7]>
  <link rel="stylesheet" href="css/ie-7.css" media="all"><![endif]-->

                                     5
The Markup



    6
<div id=”container”>

         <div id=”header”>
          header content goes here
         </div>
         <div id=”navigation”>
          navigation content goes here
         </div>
         <div id=”preface”>
          preface content goes here
         </div>
         <div id=”content”>
          main content goes here
         </div>
         <div id=”sidebar”>
          sidebar content goes here
         </div>
         <div id=”footer”>
            footer goes here

         </div>
</div>

                                      7
#container
            #header

           #navigation


            #preface




#content                 #sidebar




             #footer

               8
9
My design process



        10
Tools & resources



        11
Tools
• Firebug
• Web Developer Toolbox
• YSlow
• Delicious
• CSS Compressor
• Adobe Browser Lab
• Lorem Lipsum
• Lorem Pixum     12
Books
• Designing with Web Standards
  by Jeffrey Zeldman (3rd edition)


• HTML5 for Web Designers
  Jeremy Keith


• CSS3 for Web Designers
  Dan Cederholm


• Handcrafted CSS
  Dan Cederhols & Ethan Marcotte




                                     13
Other online resources

• Read blogs (Six Revisions, Smashing
  Magazine)
• WebStandards.org
• W3c.org

                     14
Twitter
• @zeldman
• @jasonsantamaria
• @meyerweb
• @aaron
• @chrisspooner
• @smashingmag
                     15
A design collaboration
       forum?


          16
“Design for where the web
 is going, not for where it
         has been”

             17
Contact me
• mario_hernandez@cacd.uscourts.gov
• Twitter: @designsdrive

• Download slides from:
  http://www.slideshare.net/marequi/front-
  enddesign-and-best-practices


                     18

Mais conteúdo relacionado

Mais procurados

Wp nhcc portfolio
Wp nhcc portfolioWp nhcc portfolio
Wp nhcc portfolio
gregorvios
 
Object oriented css graeme blackwood
Object oriented css graeme blackwoodObject oriented css graeme blackwood
Object oriented css graeme blackwood
drupalconf
 
Web Building Blocks
Web Building BlocksWeb Building Blocks
Web Building Blocks
joegilbert
 

Mais procurados (20)

Wp nhcc portfolio
Wp nhcc portfolioWp nhcc portfolio
Wp nhcc portfolio
 
Designing & Developing for Content in WordPress
Designing & Developing for Content in WordPressDesigning & Developing for Content in WordPress
Designing & Developing for Content in WordPress
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Object oriented css graeme blackwood
Object oriented css graeme blackwoodObject oriented css graeme blackwood
Object oriented css graeme blackwood
 
Forms as Structured Content
Forms as Structured Content Forms as Structured Content
Forms as Structured Content
 
Web Building Blocks
Web Building BlocksWeb Building Blocks
Web Building Blocks
 
Efficient theming in Drupal
Efficient theming in DrupalEfficient theming in Drupal
Efficient theming in Drupal
 
The way to be a developer "What I Need"
The way to be a developer "What I Need"The way to be a developer "What I Need"
The way to be a developer "What I Need"
 
OOCSS presentation
OOCSS presentationOOCSS presentation
OOCSS presentation
 
Put the 5 in HTML
Put the 5 in HTMLPut the 5 in HTML
Put the 5 in HTML
 
GCC 11-13-15
GCC 11-13-15GCC 11-13-15
GCC 11-13-15
 
Catch the Eye: Tips for a Clean WebSite
Catch the Eye: Tips for a Clean WebSiteCatch the Eye: Tips for a Clean WebSite
Catch the Eye: Tips for a Clean WebSite
 
Psd 2 Drupal
Psd 2 DrupalPsd 2 Drupal
Psd 2 Drupal
 
Layout & css lecture
Layout & css lectureLayout & css lecture
Layout & css lecture
 
Html and CSS 101 - hipages Group Friday talk
Html and CSS 101 - hipages Group Friday talkHtml and CSS 101 - hipages Group Friday talk
Html and CSS 101 - hipages Group Friday talk
 
Adobe Dreamweaver CS5 Basics
Adobe Dreamweaver CS5 BasicsAdobe Dreamweaver CS5 Basics
Adobe Dreamweaver CS5 Basics
 
WordPress Blogs 101
WordPress Blogs 101WordPress Blogs 101
WordPress Blogs 101
 
Css
CssCss
Css
 
Modern Web Development
Modern Web DevelopmentModern Web Development
Modern Web Development
 
Internet Concept
Internet ConceptInternet Concept
Internet Concept
 

Semelhante a Front end-design and best practices

Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
Peter Kaizer
 
Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG)
Mediacurrent
 
The Coding Designer's Survival Kit - Capital Camp
The Coding Designer's Survival Kit - Capital CampThe Coding Designer's Survival Kit - Capital Camp
The Coding Designer's Survival Kit - Capital Camp
canarymason
 
Branding Essentials for Developers presentation at TEC2012
Branding Essentials for Developers presentation at TEC2012Branding Essentials for Developers presentation at TEC2012
Branding Essentials for Developers presentation at TEC2012
Sentri
 
The things we found in your website
The things we found in your websiteThe things we found in your website
The things we found in your website
hernanibf
 
Mozilla Developer Derby October 2012: Media Queries
Mozilla Developer Derby October 2012: Media Queries Mozilla Developer Derby October 2012: Media Queries
Mozilla Developer Derby October 2012: Media Queries
themystic_ca
 
Getting started with dev tools (05 09-17, santa monica) upload
Getting started with dev tools (05 09-17, santa monica) uploadGetting started with dev tools (05 09-17, santa monica) upload
Getting started with dev tools (05 09-17, santa monica) upload
Thinkful
 
Oxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your websiteOxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your website
hernanibf
 

Semelhante a Front end-design and best practices (20)

Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
 
CSS Framework + Progressive Enhacements
CSS Framework + Progressive EnhacementsCSS Framework + Progressive Enhacements
CSS Framework + Progressive Enhacements
 
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
 
Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG)
 
The Coding Designer's Survival Kit - Capital Camp
The Coding Designer's Survival Kit - Capital CampThe Coding Designer's Survival Kit - Capital Camp
The Coding Designer's Survival Kit - Capital Camp
 
Branding Essentials for Developers presentation at TEC2012
Branding Essentials for Developers presentation at TEC2012Branding Essentials for Developers presentation at TEC2012
Branding Essentials for Developers presentation at TEC2012
 
The things we found in your website
The things we found in your websiteThe things we found in your website
The things we found in your website
 
Mozilla Developer Derby October 2012: Media Queries
Mozilla Developer Derby October 2012: Media Queries Mozilla Developer Derby October 2012: Media Queries
Mozilla Developer Derby October 2012: Media Queries
 
11 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 201411 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 2014
 
Node.js 101
 Node.js 101 Node.js 101
Node.js 101
 
The web context
The web contextThe web context
The web context
 
Pertemuan 7
Pertemuan 7Pertemuan 7
Pertemuan 7
 
Getting started with dev tools (05 09-17, santa monica) upload
Getting started with dev tools (05 09-17, santa monica) uploadGetting started with dev tools (05 09-17, santa monica) upload
Getting started with dev tools (05 09-17, santa monica) upload
 
Getting started with dev tools (4/10/17 DC)
Getting started with dev tools (4/10/17 DC)Getting started with dev tools (4/10/17 DC)
Getting started with dev tools (4/10/17 DC)
 
Advanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & EfficiencyAdvanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & Efficiency
 
Intro To Twitter Bootstrap
Intro To Twitter BootstrapIntro To Twitter Bootstrap
Intro To Twitter Bootstrap
 
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
 
Oxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your websiteOxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your website
 
HTML5, just another presentation :)
HTML5, just another presentation :)HTML5, just another presentation :)
HTML5, just another presentation :)
 
The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)
 

Mais de Mario Hernandez

Introduction to Drupal Content Management System
Introduction to Drupal Content Management SystemIntroduction to Drupal Content Management System
Introduction to Drupal Content Management System
Mario Hernandez
 

Mais de Mario Hernandez (14)

Responsive images in Drupal 8
Responsive images in Drupal 8Responsive images in Drupal 8
Responsive images in Drupal 8
 
Component-driven Drupal Theming
Component-driven Drupal ThemingComponent-driven Drupal Theming
Component-driven Drupal Theming
 
Responsive design with flexbox
Responsive design with flexboxResponsive design with flexbox
Responsive design with flexbox
 
Building your first d8 theme
Building your first d8 themeBuilding your first d8 theme
Building your first d8 theme
 
HTML5 and CSS3
HTML5 and CSS3HTML5 and CSS3
HTML5 and CSS3
 
Introduction to drupal
Introduction to drupalIntroduction to drupal
Introduction to drupal
 
Rapid wireframing and prototyping
Rapid wireframing and prototypingRapid wireframing and prototyping
Rapid wireframing and prototyping
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
CSS Frameworks
CSS FrameworksCSS Frameworks
CSS Frameworks
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Introduction to Drupal Content Management System
Introduction to Drupal Content Management SystemIntroduction to Drupal Content Management System
Introduction to Drupal Content Management System
 
CSS3 for web designer - How to design a visually appealing website
CSS3 for web designer - How to design a visually appealing websiteCSS3 for web designer - How to design a visually appealing website
CSS3 for web designer - How to design a visually appealing website
 
960 Grid System - A hands-on introduction
960 Grid System -  A hands-on introduction960 Grid System -  A hands-on introduction
960 Grid System - A hands-on introduction
 
An introduction to the 960 grid system
An introduction to the 960 grid systemAn introduction to the 960 grid system
An introduction to the 960 grid system
 

Último

一比一原版谢菲尔德大学毕业证成绩单如何办理
一比一原版谢菲尔德大学毕业证成绩单如何办理一比一原版谢菲尔德大学毕业证成绩单如何办理
一比一原版谢菲尔德大学毕业证成绩单如何办理
cyebo
 
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
JIT KUMAR GUPTA
 
Heuristic Evaluation of System & Application
Heuristic Evaluation of System & ApplicationHeuristic Evaluation of System & Application
Heuristic Evaluation of System & Application
Jaime Brown
 
一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理
cyebo
 
Presentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentationPresentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentation
ajroy0196
 

Último (20)

BIT Khushi gandhi project.pdf graphic design
BIT Khushi gandhi project.pdf graphic designBIT Khushi gandhi project.pdf graphic design
BIT Khushi gandhi project.pdf graphic design
 
Naer VR: Advanced Research and Usability Testing Project
Naer VR: Advanced Research and Usability Testing ProjectNaer VR: Advanced Research and Usability Testing Project
Naer VR: Advanced Research and Usability Testing Project
 
iF_Design_Trend_Report_twentytwenrythree
iF_Design_Trend_Report_twentytwenrythreeiF_Design_Trend_Report_twentytwenrythree
iF_Design_Trend_Report_twentytwenrythree
 
一比一原版谢菲尔德大学毕业证成绩单如何办理
一比一原版谢菲尔德大学毕业证成绩单如何办理一比一原版谢菲尔德大学毕业证成绩单如何办理
一比一原版谢菲尔德大学毕业证成绩单如何办理
 
Design Portofolios - Licensed Architect / BIM Specialist
Design Portofolios - Licensed Architect / BIM SpecialistDesign Portofolios - Licensed Architect / BIM Specialist
Design Portofolios - Licensed Architect / BIM Specialist
 
Design lessons from Singapore | Volume 3
Design lessons from Singapore | Volume 3Design lessons from Singapore | Volume 3
Design lessons from Singapore | Volume 3
 
Webhost NVME Cloud VPS Hosting1234455678
Webhost NVME Cloud VPS Hosting1234455678Webhost NVME Cloud VPS Hosting1234455678
Webhost NVME Cloud VPS Hosting1234455678
 
Dos And Dont's Of Logo Design For 2024..
Dos And Dont's Of Logo Design For 2024..Dos And Dont's Of Logo Design For 2024..
Dos And Dont's Of Logo Design For 2024..
 
And that's about to change! (Service Design Drinks Berlin May 2024)
And that's about to change! (Service Design Drinks Berlin May 2024)And that's about to change! (Service Design Drinks Berlin May 2024)
And that's about to change! (Service Design Drinks Berlin May 2024)
 
CADD 141 - BIRD Scooter - Cup Holder Photos.pdf
CADD 141 - BIRD Scooter - Cup Holder Photos.pdfCADD 141 - BIRD Scooter - Cup Holder Photos.pdf
CADD 141 - BIRD Scooter - Cup Holder Photos.pdf
 
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
 
CADD 141 - Puzzle Cube Project - Product Photos
CADD 141 - Puzzle Cube Project - Product PhotosCADD 141 - Puzzle Cube Project - Product Photos
CADD 141 - Puzzle Cube Project - Product Photos
 
Recycled Modular Low Cost Construction .pdf
Recycled Modular Low Cost Construction .pdfRecycled Modular Low Cost Construction .pdf
Recycled Modular Low Cost Construction .pdf
 
Heuristic Evaluation of System & Application
Heuristic Evaluation of System & ApplicationHeuristic Evaluation of System & Application
Heuristic Evaluation of System & Application
 
The Impact of Artificial Intelligence on Modern Healthcare.pptx
The Impact of Artificial Intelligence on Modern Healthcare.pptxThe Impact of Artificial Intelligence on Modern Healthcare.pptx
The Impact of Artificial Intelligence on Modern Healthcare.pptx
 
一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理一比一原版格林威治大学毕业证成绩单如何办理
一比一原版格林威治大学毕业证成绩单如何办理
 
Spring 2024 wkrm_Enhancing Campus Mobility.pdf
Spring 2024 wkrm_Enhancing Campus Mobility.pdfSpring 2024 wkrm_Enhancing Campus Mobility.pdf
Spring 2024 wkrm_Enhancing Campus Mobility.pdf
 
The Journey of Fashion Designer Sketches - From Concept to Catwalk
The Journey of Fashion Designer Sketches - From Concept to CatwalkThe Journey of Fashion Designer Sketches - From Concept to Catwalk
The Journey of Fashion Designer Sketches - From Concept to Catwalk
 
spColumn-Manual design column by spcolumn software.pdf
spColumn-Manual design column by spcolumn software.pdfspColumn-Manual design column by spcolumn software.pdf
spColumn-Manual design column by spcolumn software.pdf
 
Presentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentationPresentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentation
 

Front end-design and best practices

  • 1. Front-end Design and Best Practices by Mario Hernandez. California Central 1
  • 2. Agenda • State of the web in the Courts • HTML & CSS best practices • The markup • My design process • Tools & Resources 2
  • 3. State of the web in the Courts • Very little emphasis in standards and design in general (Windows & Web) • Little to no emphasis on usability and accessibility (Section 508 & Plain Language Bill) • Lack of best practices 3
  • 4. <html /> best practices • Use lower case when naming your html elements • Use DIVs to divide your layout • Use ALT attributes with images • Separate content from presentation (no inline styling) • Use well structured code (will demo) • Use proper semantic (will demo) • Use heading elements wisely (h1, h2, h3, etc) 4
  • 5. #css { } best practices • Use lower case when writing your css • Use shorthand as much as possible • Keep an organized hierarchy when composing your css (top to bottom) • Always use a reset.css file • Order your css files properly • Use conditional css files when possible <!--[if IE 7]> <link rel="stylesheet" href="css/ie-7.css" media="all"><![endif]--> 5
  • 7. <div id=”container”> <div id=”header”> header content goes here </div> <div id=”navigation”> navigation content goes here </div> <div id=”preface”> preface content goes here </div> <div id=”content”> main content goes here </div> <div id=”sidebar”> sidebar content goes here </div> <div id=”footer”> footer goes here </div> </div> 7
  • 8. #container #header #navigation #preface #content #sidebar #footer 8
  • 9. 9
  • 12. Tools • Firebug • Web Developer Toolbox • YSlow • Delicious • CSS Compressor • Adobe Browser Lab • Lorem Lipsum • Lorem Pixum 12
  • 13. Books • Designing with Web Standards by Jeffrey Zeldman (3rd edition) • HTML5 for Web Designers Jeremy Keith • CSS3 for Web Designers Dan Cederholm • Handcrafted CSS Dan Cederhols & Ethan Marcotte 13
  • 14. Other online resources • Read blogs (Six Revisions, Smashing Magazine) • WebStandards.org • W3c.org 14
  • 15. Twitter • @zeldman • @jasonsantamaria • @meyerweb • @aaron • @chrisspooner • @smashingmag 15
  • 17. “Design for where the web is going, not for where it has been” 17
  • 18. Contact me • mario_hernandez@cacd.uscourts.gov • Twitter: @designsdrive • Download slides from: http://www.slideshare.net/marequi/front- enddesign-and-best-practices 18

Notas do Editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n