responsive design and twitter bootstrap

39
Kathy E. Gill @kegill Responsive Design and Twitter Bootstrap

Upload: duc

Post on 25-Feb-2016

74 views

Category:

Documents


4 download

DESCRIPTION

Responsive Design and Twitter Bootstrap. Kathy E. Gill @ kegill. Introductions. Who are we? What do you do? What do you want to do? What tools or areas of web design interest you most? About the class …. Design. What is it? . Concepts. Responsive Design Frameworks Open Source. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Responsive  Design and Twitter Bootstrap

Kathy E. Gill@kegill

Responsive Design and Twitter Bootstrap

Page 2: Responsive  Design and Twitter Bootstrap

IntroductionsWho are we?What do you do?What do you want to do?What tools or areas of web

design interest you most?About the class ….

Page 3: Responsive  Design and Twitter Bootstrap

DesignWhat is it?

Page 4: Responsive  Design and Twitter Bootstrap

ConceptsResponsive DesignFrameworksOpen Source

Page 5: Responsive  Design and Twitter Bootstrap

Design is a process for developing solutions that effectively integrate task, context of use, and “user.”

Page 6: Responsive  Design and Twitter Bootstrap

State of Today’s Web

Source: http://bradfrostweb.com/

Page 8: Responsive  Design and Twitter Bootstrap

“Anyone who slaps a ‘This page is best viewed with browser X’ label on a web page appears to be yearning for the bad old days, before the web, when you had very little chance of reading a document written on another computer, another word processor, or another network.”

Tim Berners-Lee in Technology Review, July 1996

Page 9: Responsive  Design and Twitter Bootstrap

An approach to web design that provides an optimal viewing experience across a wide range of devices.

What is Responsive Web Design?

http://www.alistapart.com/articles/responsive-web-design/

Page 10: Responsive  Design and Twitter Bootstrap

http://www.abookapart.com/products/responsive-web-design

Page 11: Responsive  Design and Twitter Bootstrap

Elements of RWD

•Fluid Grid•Resizable Images•Media Queries

Page 12: Responsive  Design and Twitter Bootstrap

Grids

Page 13: Responsive  Design and Twitter Bootstrap
Page 14: Responsive  Design and Twitter Bootstrap

Grids /

Page 15: Responsive  Design and Twitter Bootstrap

Example based on Foundation Zurb Framework (http://foundation.zurb.com). A 12 column grid systemHow do grid systems work?

Page 16: Responsive  Design and Twitter Bootstrap

Resizable Imagesimg {max-width: 100%;height: auto;}

Page 17: Responsive  Design and Twitter Bootstrap

Media Queries• A CSS3 module that renders web pages based on conditions such as screen resolution • Drafted in 2001 by the W3C • Became a recommended standard in June 2012

Source: Wikipedia.org

Page 18: Responsive  Design and Twitter Bootstrap

Common Breakpoints

Label Layout Width

Smartphones 480px and below

Portrait Tables 480px to 768px

Landscape Tablets 768px to 940px

Default 940px and up

Large Screens 1210px and up

Page 19: Responsive  Design and Twitter Bootstrap

Advantages & DisadvantagesAdvantages Disadvantages

User Experience (UX) User Experience/Load Time

Analytics No linking

Sharing/Linking SEO

SEO Development

Development Design

Maintenance

Source: http://www.seomoz.org/

Page 20: Responsive  Design and Twitter Bootstrap

FrameworksProject requirements determine the

frameworkFluid Grid SystemResponsiveness a plusOffer more than just a grid (pre-defined

styles for typography, tables, buttons, navigation, forms elements, etc.)

Page 21: Responsive  Design and Twitter Bootstrap

FrameworksGreat documentation Maintained regularly by the community or

creatorOpen Source (free)

Page 22: Responsive  Design and Twitter Bootstrap
Page 23: Responsive  Design and Twitter Bootstrap

What

http://twitter.github.com/bootstrap/

Page 24: Responsive  Design and Twitter Bootstrap

A freely available design framework for websites and web applications Based upon HTML5, CSS and JavaScriptSupports all major browsers (even IE7!)Released on GitHub in August 2011

Twitter Bootstrap

Page 25: Responsive  Design and Twitter Bootstrap

Created By

Page 26: Responsive  Design and Twitter Bootstrap

WhyReason #1: Rich Features

Page 27: Responsive  Design and Twitter Bootstrap

WhyReason #2: Popularity

Page 28: Responsive  Design and Twitter Bootstrap

Also MSIE and Opera

WhyReason #3: Browser Support

Page 29: Responsive  Design and Twitter Bootstrap

WhyReason #4: Glyph Icon Set

Page 30: Responsive  Design and Twitter Bootstrap

960 Grid System http://960.gs/Blue Print CSS http://www.blueprintcss.org/ Golden Grid System http://goldengridsystem.com/

WhyReason #5: Grid System

Page 31: Responsive  Design and Twitter Bootstrap

Buttons: Tabs: Breadcrumb: Pagination: Alerts:

Progress bar:

WhyReason #6: Components

Page 32: Responsive  Design and Twitter Bootstrap

WhyReason #7: Javascript/jQuery

Page 33: Responsive  Design and Twitter Bootstrap

WhyReason #8: Customization

Page 34: Responsive  Design and Twitter Bootstrap

WhyReason #9: Live Mock-Ups

Page 35: Responsive  Design and Twitter Bootstrap
Page 36: Responsive  Design and Twitter Bootstrap

1. Download Bootstrap and inline text editor

2. Install text editor 3. Extract the bootstrap files in to your

project folder4. Download example html file and save

it as index.html in the project folder

How

Page 37: Responsive  Design and Twitter Bootstrap

Do websites need to look

exactly the same in every browser?

http://dowebsitesneedtolookexactlythesameineverybrowser.com/

Page 38: Responsive  Design and Twitter Bootstrap

Resourceshttp://bootswatch.com/

Page 39: Responsive  Design and Twitter Bootstrap

Thanks!Kathy E [email protected]/kegillCreative Commons License / share-and-share

alike / attribution / non-commercial