SlideShare ist ein Scribd-Unternehmen logo
1 von 33
GETTING STARTED WITH CSS
      FRAMEWORKS
      using Foundation by ZURB




                           “Foundation” and the Yeti mascot © ZURB
SOME METADATA



• Women Who     Code Twitter hashtag: #wwcode

Slideshare URL: http://tinyurl.com/zurb-preso




                                2
I AM...


• Melanie Archer, @mejarc

•afront-end Web developer (the HTML/CSS/JavaScript
 person)

• anemployee of Sungevity, Inc., “bringing affordable solar power
 to the people one home at a time”


                                3
AND YOU ARE...

•Avisual or interaction designer wanting to make Web
prototypes in markup

•Aback-end developer who learned a little about CSS, not
really enough to make your life easier

•ACSS pro! A stylesheet guru! And you’re sick of re-inventing
the wheel

                              4
ASSUMPTIONS



• You’ve   worked a little with CSS and HTML before

• You’ve downloaded the Foundation Framework...
 errrrh, hmm....




                                5
DOWNLOAD THE
            FRAMEWORK


• theFoundation Website
 foundation.zurb.com/

• GitHub
 github.com/zurb/foundation



                              6
WHAT’S A CSS FRAMEWORK?


•a collection of prefab stylesheets, HTML, and even JavaScript
 files that apply a set design to your Web page

• can
    provide ornate visual styles (a blog theme), or utilitarian
 ones (jQuery UI)



                                7
WHY USE A CSS
                 FRAMEWORK?

• Takes   over a very tedious aspect of front-end development

• Lets
     people with varying levels of CSS skill work on the same
 templates

• Tested in browsers/usage situations you might not have access
 to, such as mobile


                                 8
HOW DOES A CSS
  FRAMEWORK DO ITS THING?


•a framework requires that you put certain class names on
  HTML elements

• It’s
     like: LEGO blocks. You’re given blocks of a certain size to
  construct your page



                                 9
WHAT’S FOUNDATION?

1. a package of CSS, JavaScript, and image files
   created by ZURB

2. a quick way to create a flexible layout for a
   Web page, using the principles of
   responsive design




                                10
WHO’S ZURB?*

      “A team of T-shaped interaction designers and
      design strategists who help grow businesses”




* No, I don’t work for them
                              11
WHAT’S RESPONSIVE DESIGN?

Responsive Design is developing your Web application so that
it is usable on a variety of devices and screen sizes.

The term “responsive design” was first popularized by Ethan
Marcotte in his 2010 article for A List Apart.




                             12
LET’S GET STARTED


What we’re building: a two-
column layout. Header, footer,
side menu, main content area.




                                 13
OUR TOOLS
• A Web browser, such as Chrome, Firefox,
 Safari...even Internet Explorer

• Text or code editor. For example, TextEdit
 (Mac), Notepad (Windows), Dreamweaver, vi,
 Emacs




                               14
OBTAINING YOUR CONTENT
• Go   to http://cupcakeipsum.com/

• Generatecontent for your page: 3-5
 paragraphs

• Copy the content to a new text file
 in your favorite text editor




                               15
INSTALL FOUNDATION

• Go to where you’ve placed
 the Foundation download

• Keep it there, or move the
 archive to your working
 folder

• Unzip   the archive

                               16
WHAT IS ALL THIS STUFF?

• robots.txt

• humans.txt

  • like
     a rolling credits screen, or acknowledgements page, for a
   Web site

• asset    folders for styles, JavaScripts, and images

• HTML      template
                                     17
LOOK AT THE TEMPLATE IN
           THE BROWSER


• inyour Web browser, open
 index.html

• check out all this helpful
 default content



                               18
LOOK AT THE HTML


In your editing software, open index.html




                   19
LOOK AT THE CSS

In your editing software, open stylesheets/foundation.css




                               20
BUILDING THE GRID: ADDING
           ROWS
• Inyour editing software, open
 index.html

• Add  three rows inside
 div.container to correspond to
 the Header, Main Content
 Area, and Footer

• Save   your changes

                                  21
LOOK AT THE TEMPLATE
             (AGAIN)


• In
   your Web browser,
 open index.html

• What   changed?




                       22
BUILDING THE GRID: HEADER

• Inyour editing software, open
 index.html

• Add one div with the class
 values twelve columns inside the
 first div.row

• Cut& paste a paragraph from
 your content file into this div

                            23
BUILDING THE GRID: MAIN
        CONTENT AREA
• Now   add 2 divs inside the next
 div.row

• Giveone div the class values of eight
 columns. Give the next div the class
 values of four columns

• Cut   and paste content into these
 divs

                                24
BUILDING THE GRID: FOOTER

• Inyour editing software, open
 index.html

• Add  one div with the class
 values twelve columns inside the
 last div.row

• Cut& paste a paragraph from
 your content file into this div

                            25
LOOK AT THE TEMPLATE
               (AGAIN)

• In   your Web browser, open index.html

• What    changed?




                                26
BREAK SOMETHING

• Change the class name on one of the HTML elements. For
 example: <div class=”Row”>, or <div class=”for columns”>

• Look at it in the browser. What changed?




                              27
FIX IT




  28
ET VOILÀ!
Here’s your layout!




        29
EXTRA CREDIT: ADDING
          YOUR OWN STYLES


• Add   your styles to app.css

• Do   NOT edit foundation.css




                                 30
EXTRA CREDIT: USING
 FOUNDATION WITH OTHER
    CSS FRAMEWORKS
• Other   grid systems. Example: Blueprint

• Other “foundation” frameworks. Example: HTML5          Boilerplate

• Other   user interface libraries. Example: jQuery UI



                                 31
THANKS



• Sasha   Laundy, for suggesting I do this presentation

• Michael   Knowles, for tolerating my rehearsal of it




                                  32
FURTHER READING
•   Foundation Docs
    foundation.zurb.com/docs/

•   W3C Web Standards Curriculum: CSS
    www.w3.org/wiki/Web_Standards_Curriculum#CSS

•   Design By Grid: yet more CSS frameworks for layout
    www.designbygrid.com

•   Dev Opera: Grid Design Basics
    tinyurl.com/grid-design-basics

•   InstaCSS: search for CSS properties
    instacss.com

•   “Responsive Web Design,” by Ethan Marcotte
    http://www.alistapart.com/articles/responsive-web-design/

•   Beginner’s Guide to Responsive Web Design
    thinkvitamin.com/design/beginners-guide-to-responsive-web-design/
                                            33

Weitere ähnliche Inhalte

Was ist angesagt?

Node.js 101
 Node.js 101 Node.js 101
Node.js 101FITC
 
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon DublinCreating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon DublinSuzanne Dergacheva
 
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...Mediacurrent
 
Drupal Camp Manila 2014 - Theming with Zen
Drupal Camp Manila 2014 - Theming with ZenDrupal Camp Manila 2014 - Theming with Zen
Drupal Camp Manila 2014 - Theming with ZenJapo Domingo
 
Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibilityhernanibf
 
Minimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
Minimalist Theming: How to Build a Lean, Mean Drupal 8 ThemeMinimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
Minimalist Theming: How to Build a Lean, Mean Drupal 8 ThemeSuzanne Dergacheva
 
Drupal - Blocks vs Context vs Panels
Drupal - Blocks vs Context vs PanelsDrupal - Blocks vs Context vs Panels
Drupal - Blocks vs Context vs PanelsDavid Burns
 
Put A Map On It! Enhanced geolocation in WordPress with Geo Mashup
Put A Map On It! Enhanced geolocation in WordPress with Geo MashupPut A Map On It! Enhanced geolocation in WordPress with Geo Mashup
Put A Map On It! Enhanced geolocation in WordPress with Geo MashupJer Clarke
 
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 Theme
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 ThemeCreating Responsive Drupal Sites with Zen Grids and the Zen 5 Theme
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 ThemeAcquia
 
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 websitehernanibf
 
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 websitehernanibf
 
My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013hernanibf
 
Creating Dynamic Landing Pages for Drupal with Panels - Webinar
Creating Dynamic Landing Pages for Drupal with Panels - WebinarCreating Dynamic Landing Pages for Drupal with Panels - Webinar
Creating Dynamic Landing Pages for Drupal with Panels - WebinarSuzanne Dergacheva
 
The Foundations of Being Sassy in Drupal
The Foundations of Being Sassy in DrupalThe Foundations of Being Sassy in Drupal
The Foundations of Being Sassy in DrupalEllie Roepken
 
Creating a Reusable Drupal Website for Higher Education - at USG Tech Day
Creating a Reusable Drupal Website for Higher Education - at USG Tech DayCreating a Reusable Drupal Website for Higher Education - at USG Tech Day
Creating a Reusable Drupal Website for Higher Education - at USG Tech DaySuzanne Dergacheva
 
Using Foundation with Drupal
Using Foundation with DrupalUsing Foundation with Drupal
Using Foundation with DrupalExove
 
Drupal vs WordPress
Drupal vs WordPressDrupal vs WordPress
Drupal vs WordPressPhill Brown
 

Was ist angesagt? (18)

Node.js 101
 Node.js 101 Node.js 101
Node.js 101
 
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon DublinCreating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon Dublin
 
Learn Bootstrap 4
Learn Bootstrap 4Learn Bootstrap 4
Learn Bootstrap 4
 
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
 
Drupal Camp Manila 2014 - Theming with Zen
Drupal Camp Manila 2014 - Theming with ZenDrupal Camp Manila 2014 - Theming with Zen
Drupal Camp Manila 2014 - Theming with Zen
 
Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibility
 
Minimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
Minimalist Theming: How to Build a Lean, Mean Drupal 8 ThemeMinimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
Minimalist Theming: How to Build a Lean, Mean Drupal 8 Theme
 
Drupal - Blocks vs Context vs Panels
Drupal - Blocks vs Context vs PanelsDrupal - Blocks vs Context vs Panels
Drupal - Blocks vs Context vs Panels
 
Put A Map On It! Enhanced geolocation in WordPress with Geo Mashup
Put A Map On It! Enhanced geolocation in WordPress with Geo MashupPut A Map On It! Enhanced geolocation in WordPress with Geo Mashup
Put A Map On It! Enhanced geolocation in WordPress with Geo Mashup
 
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 Theme
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 ThemeCreating Responsive Drupal Sites with Zen Grids and the Zen 5 Theme
Creating Responsive Drupal Sites with Zen Grids and the Zen 5 Theme
 
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
 
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
 
My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013
 
Creating Dynamic Landing Pages for Drupal with Panels - Webinar
Creating Dynamic Landing Pages for Drupal with Panels - WebinarCreating Dynamic Landing Pages for Drupal with Panels - Webinar
Creating Dynamic Landing Pages for Drupal with Panels - Webinar
 
The Foundations of Being Sassy in Drupal
The Foundations of Being Sassy in DrupalThe Foundations of Being Sassy in Drupal
The Foundations of Being Sassy in Drupal
 
Creating a Reusable Drupal Website for Higher Education - at USG Tech Day
Creating a Reusable Drupal Website for Higher Education - at USG Tech DayCreating a Reusable Drupal Website for Higher Education - at USG Tech Day
Creating a Reusable Drupal Website for Higher Education - at USG Tech Day
 
Using Foundation with Drupal
Using Foundation with DrupalUsing Foundation with Drupal
Using Foundation with Drupal
 
Drupal vs WordPress
Drupal vs WordPressDrupal vs WordPress
Drupal vs WordPress
 

Andere mochten auch

Responsive with Zurb Foundation
Responsive with Zurb FoundationResponsive with Zurb Foundation
Responsive with Zurb FoundationMan Math
 
Foundation for Appsでザクザク作るモックアップ
Foundation for Appsでザクザク作るモックアップFoundation for Appsでザクザク作るモックアップ
Foundation for Appsでザクザク作るモックアップKeisuke Imura
 
Web Development Ppt
Web Development PptWeb Development Ppt
Web Development PptBruce Tucker
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web developmentbethanygfair
 
Cloud computing simple ppt
Cloud computing simple pptCloud computing simple ppt
Cloud computing simple pptAgarwaljay
 

Andere mochten auch (8)

Responsive with Zurb Foundation
Responsive with Zurb FoundationResponsive with Zurb Foundation
Responsive with Zurb Foundation
 
Zurb Foundation 5
Zurb Foundation 5Zurb Foundation 5
Zurb Foundation 5
 
Foundation for Appsでザクザク作るモックアップ
Foundation for Appsでザクザク作るモックアップFoundation for Appsでザクザク作るモックアップ
Foundation for Appsでザクザク作るモックアップ
 
Web Development Ppt
Web Development PptWeb Development Ppt
Web Development Ppt
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
 
Cloud computing simple ppt
Cloud computing simple pptCloud computing simple ppt
Cloud computing simple ppt
 
cloud computing ppt
cloud computing pptcloud computing ppt
cloud computing ppt
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
 

Ähnlich wie Getting started with CSS frameworks using Zurb foundation

Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to Drupalsdmaxey
 
BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12ucbdrupal
 
Designing True Cross-Platform Apps
Designing True Cross-Platform AppsDesigning True Cross-Platform Apps
Designing True Cross-Platform AppsFITC
 
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon BaltimoreCreating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon BaltimoreSuzanne Dergacheva
 
ITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdf
ITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdfITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdf
ITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdfOrtus Solutions, Corp
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress UniversityStephanie Leary
 
Know the reason behind choosing bootstrap as css framework
Know the reason behind choosing bootstrap as css frameworkKnow the reason behind choosing bootstrap as css framework
Know the reason behind choosing bootstrap as css frameworkOmkarsoft Bangalore
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalRod Martin
 
Responsive themeworkshop wcneo2016
Responsive themeworkshop wcneo2016Responsive themeworkshop wcneo2016
Responsive themeworkshop wcneo2016David Brattoli
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate WorkshopThe Toolbox, Inc.
 
Drupal Step-by-Step: Building a Drupal Site with Acquia Cloud Site Factory
Drupal Step-by-Step: Building a Drupal Site with Acquia Cloud Site FactoryDrupal Step-by-Step: Building a Drupal Site with Acquia Cloud Site Factory
Drupal Step-by-Step: Building a Drupal Site with Acquia Cloud Site FactoryAcquia
 
FITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedFITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedRami Sayar
 
Wordpress intro
Wordpress introWordpress intro
Wordpress introthe-colab
 
Building a Great User Experience for Content Editors in Drupal 8
Building a Great User Experience for Content Editors in Drupal 8Building a Great User Experience for Content Editors in Drupal 8
Building a Great User Experience for Content Editors in Drupal 8Suzanne Dergacheva
 
Best 5 CSS Frameworks You Should Know To Design Attractive Websites .pdf
Best 5 CSS Frameworks You Should Know To Design Attractive Websites .pdfBest 5 CSS Frameworks You Should Know To Design Attractive Websites .pdf
Best 5 CSS Frameworks You Should Know To Design Attractive Websites .pdfAppdeveloper10
 
Cis363 a all ilabs devry university
Cis363 a all ilabs devry universityCis363 a all ilabs devry university
Cis363 a all ilabs devry universityCIS363A
 
Cis363 all i labs devry university
Cis363 all i labs devry universityCis363 all i labs devry university
Cis363 all i labs devry universityjkkjhdy798iyi
 
Cis363 all i labs devry university
Cis363 all i labs devry universityCis363 all i labs devry university
Cis363 all i labs devry universityCIS363A
 
Cis363 a all ilabs devry university
Cis363 a all ilabs devry universityCis363 a all ilabs devry university
Cis363 a all ilabs devry universityCIS363A
 

Ähnlich wie Getting started with CSS frameworks using Zurb foundation (20)

Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to Drupal
 
BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12BDUG Responsive Web Theming - 7/23/12
BDUG Responsive Web Theming - 7/23/12
 
Designing True Cross-Platform Apps
Designing True Cross-Platform AppsDesigning True Cross-Platform Apps
Designing True Cross-Platform Apps
 
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon BaltimoreCreating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
 
Wordpress overview
Wordpress overviewWordpress overview
Wordpress overview
 
ITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdf
ITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdfITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdf
ITB_2023_Extend_your_contentbox_apps_with_custom_modules_Javier_Quintero.pdf
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress University
 
Know the reason behind choosing bootstrap as css framework
Know the reason behind choosing bootstrap as css frameworkKnow the reason behind choosing bootstrap as css framework
Know the reason behind choosing bootstrap as css framework
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to Drupal
 
Responsive themeworkshop wcneo2016
Responsive themeworkshop wcneo2016Responsive themeworkshop wcneo2016
Responsive themeworkshop wcneo2016
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate Workshop
 
Drupal Step-by-Step: Building a Drupal Site with Acquia Cloud Site Factory
Drupal Step-by-Step: Building a Drupal Site with Acquia Cloud Site FactoryDrupal Step-by-Step: Building a Drupal Site with Acquia Cloud Site Factory
Drupal Step-by-Step: Building a Drupal Site with Acquia Cloud Site Factory
 
FITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedFITC - Bootstrap Unleashed
FITC - Bootstrap Unleashed
 
Wordpress intro
Wordpress introWordpress intro
Wordpress intro
 
Building a Great User Experience for Content Editors in Drupal 8
Building a Great User Experience for Content Editors in Drupal 8Building a Great User Experience for Content Editors in Drupal 8
Building a Great User Experience for Content Editors in Drupal 8
 
Best 5 CSS Frameworks You Should Know To Design Attractive Websites .pdf
Best 5 CSS Frameworks You Should Know To Design Attractive Websites .pdfBest 5 CSS Frameworks You Should Know To Design Attractive Websites .pdf
Best 5 CSS Frameworks You Should Know To Design Attractive Websites .pdf
 
Cis363 a all ilabs devry university
Cis363 a all ilabs devry universityCis363 a all ilabs devry university
Cis363 a all ilabs devry university
 
Cis363 all i labs devry university
Cis363 all i labs devry universityCis363 all i labs devry university
Cis363 all i labs devry university
 
Cis363 all i labs devry university
Cis363 all i labs devry universityCis363 all i labs devry university
Cis363 all i labs devry university
 
Cis363 a all ilabs devry university
Cis363 a all ilabs devry universityCis363 a all ilabs devry university
Cis363 a all ilabs devry university
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
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 Processorsdebabhi2
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Kürzlich hochgeladen (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Getting started with CSS frameworks using Zurb foundation

  • 1. GETTING STARTED WITH CSS FRAMEWORKS using Foundation by ZURB “Foundation” and the Yeti mascot © ZURB
  • 2. SOME METADATA • Women Who Code Twitter hashtag: #wwcode Slideshare URL: http://tinyurl.com/zurb-preso 2
  • 3. I AM... • Melanie Archer, @mejarc •afront-end Web developer (the HTML/CSS/JavaScript person) • anemployee of Sungevity, Inc., “bringing affordable solar power to the people one home at a time” 3
  • 4. AND YOU ARE... •Avisual or interaction designer wanting to make Web prototypes in markup •Aback-end developer who learned a little about CSS, not really enough to make your life easier •ACSS pro! A stylesheet guru! And you’re sick of re-inventing the wheel 4
  • 5. ASSUMPTIONS • You’ve worked a little with CSS and HTML before • You’ve downloaded the Foundation Framework... errrrh, hmm.... 5
  • 6. DOWNLOAD THE FRAMEWORK • theFoundation Website foundation.zurb.com/ • GitHub github.com/zurb/foundation 6
  • 7. WHAT’S A CSS FRAMEWORK? •a collection of prefab stylesheets, HTML, and even JavaScript files that apply a set design to your Web page • can provide ornate visual styles (a blog theme), or utilitarian ones (jQuery UI) 7
  • 8. WHY USE A CSS FRAMEWORK? • Takes over a very tedious aspect of front-end development • Lets people with varying levels of CSS skill work on the same templates • Tested in browsers/usage situations you might not have access to, such as mobile 8
  • 9. HOW DOES A CSS FRAMEWORK DO ITS THING? •a framework requires that you put certain class names on HTML elements • It’s like: LEGO blocks. You’re given blocks of a certain size to construct your page 9
  • 10. WHAT’S FOUNDATION? 1. a package of CSS, JavaScript, and image files created by ZURB 2. a quick way to create a flexible layout for a Web page, using the principles of responsive design 10
  • 11. WHO’S ZURB?* “A team of T-shaped interaction designers and design strategists who help grow businesses” * No, I don’t work for them 11
  • 12. WHAT’S RESPONSIVE DESIGN? Responsive Design is developing your Web application so that it is usable on a variety of devices and screen sizes. The term “responsive design” was first popularized by Ethan Marcotte in his 2010 article for A List Apart. 12
  • 13. LET’S GET STARTED What we’re building: a two- column layout. Header, footer, side menu, main content area. 13
  • 14. OUR TOOLS • A Web browser, such as Chrome, Firefox, Safari...even Internet Explorer • Text or code editor. For example, TextEdit (Mac), Notepad (Windows), Dreamweaver, vi, Emacs 14
  • 15. OBTAINING YOUR CONTENT • Go to http://cupcakeipsum.com/ • Generatecontent for your page: 3-5 paragraphs • Copy the content to a new text file in your favorite text editor 15
  • 16. INSTALL FOUNDATION • Go to where you’ve placed the Foundation download • Keep it there, or move the archive to your working folder • Unzip the archive 16
  • 17. WHAT IS ALL THIS STUFF? • robots.txt • humans.txt • like a rolling credits screen, or acknowledgements page, for a Web site • asset folders for styles, JavaScripts, and images • HTML template 17
  • 18. LOOK AT THE TEMPLATE IN THE BROWSER • inyour Web browser, open index.html • check out all this helpful default content 18
  • 19. LOOK AT THE HTML In your editing software, open index.html 19
  • 20. LOOK AT THE CSS In your editing software, open stylesheets/foundation.css 20
  • 21. BUILDING THE GRID: ADDING ROWS • Inyour editing software, open index.html • Add three rows inside div.container to correspond to the Header, Main Content Area, and Footer • Save your changes 21
  • 22. LOOK AT THE TEMPLATE (AGAIN) • In your Web browser, open index.html • What changed? 22
  • 23. BUILDING THE GRID: HEADER • Inyour editing software, open index.html • Add one div with the class values twelve columns inside the first div.row • Cut& paste a paragraph from your content file into this div 23
  • 24. BUILDING THE GRID: MAIN CONTENT AREA • Now add 2 divs inside the next div.row • Giveone div the class values of eight columns. Give the next div the class values of four columns • Cut and paste content into these divs 24
  • 25. BUILDING THE GRID: FOOTER • Inyour editing software, open index.html • Add one div with the class values twelve columns inside the last div.row • Cut& paste a paragraph from your content file into this div 25
  • 26. LOOK AT THE TEMPLATE (AGAIN) • In your Web browser, open index.html • What changed? 26
  • 27. BREAK SOMETHING • Change the class name on one of the HTML elements. For example: <div class=”Row”>, or <div class=”for columns”> • Look at it in the browser. What changed? 27
  • 28. FIX IT 28
  • 30. EXTRA CREDIT: ADDING YOUR OWN STYLES • Add your styles to app.css • Do NOT edit foundation.css 30
  • 31. EXTRA CREDIT: USING FOUNDATION WITH OTHER CSS FRAMEWORKS • Other grid systems. Example: Blueprint • Other “foundation” frameworks. Example: HTML5 Boilerplate • Other user interface libraries. Example: jQuery UI 31
  • 32. THANKS • Sasha Laundy, for suggesting I do this presentation • Michael Knowles, for tolerating my rehearsal of it 32
  • 33. FURTHER READING • Foundation Docs foundation.zurb.com/docs/ • W3C Web Standards Curriculum: CSS www.w3.org/wiki/Web_Standards_Curriculum#CSS • Design By Grid: yet more CSS frameworks for layout www.designbygrid.com • Dev Opera: Grid Design Basics tinyurl.com/grid-design-basics • InstaCSS: search for CSS properties instacss.com • “Responsive Web Design,” by Ethan Marcotte http://www.alistapart.com/articles/responsive-web-design/ • Beginner’s Guide to Responsive Web Design thinkvitamin.com/design/beginners-guide-to-responsive-web-design/ 33

Hinweis der Redaktion

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. Wikipedia:\nThe concept of T-shaped skills, or T-shaped persons is a metaphor used in job recruitment to describe the abilities of persons in the workforce. The vertical bar on the Trepresents the depth of related skills as expertise in a same field, whereas the horizontal bar is the ability to collaborate across disciplines with experts in other areas, and to apply knowledge in areas of expertise other than their own.\n\nCampbell, CA\n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. note links to stylesheets, comments--explain Html and CSS comments\n
  20. \n
  21. \n(notice that we haven&apos;t changed the css)\n\n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. The point being: case sensitivity matters. spelling matters\n
  28. \n
  29. \n
  30. Point: you&amp;#x2019;ll get an updated version which&amp;#x2019;ll wipe out your changes\n
  31. No: blueprint; Yes, boilerplate. Qualified yes, jQuery UI.\n
  32. \n
  33. \n