• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
CSS Frameworks for Rapid Site Designs
 

CSS Frameworks for Rapid Site Designs

on

  • 756 views

 

Statistics

Views

Total Views
756
Views on SlideShare
756
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    CSS Frameworks for Rapid Site Designs CSS Frameworks for Rapid Site Designs Presentation Transcript

    • CSS Frameworks forRapid Site Designs• Ben MacNeillben.macneill@extension.org• Presentation at:slideshare.net/chillnc/
    • What is a CSS framework?• Two CSS files (core + responsive)• A single Javascript file (dependent on jQuery)• Two image files
    • Why use Bootstrap?• Faster development• Instant grid• Library of commonly used elements (components)• Typography• Responsive CSS (optional)• Compatibility (down to IE 7)• Open source• Active: https://github.com/popular/starred
    • Scaffolding• 12 Column Grid• Fixed / Fluid• Both have responsive capabilities
    • What is ResponsiveWeb Design?
    • Flexible, Device-Independent Design
    • Single Sourceof Content(HTML)
    • Why Responsive Design?• Designing for specific devices — too many• Siloed pages: /mobile/page.html — trapped
    • Three Components• A flexible grid-based layout• Flexible images and media• Media queries (CSS3)
    • Make it Responsive• Set viewport• Include bootstrap-responsive.css
    • Short Detour:Reseting theViewport• Modern mobile browsers pretend that webpages are desktop-browser size (~900px)• They render them at that size• Then shrink the resulting page to fit in thedevice window
    • Override the Default<meta name="viewport" content="initial-scale=1.0, width=device-width" />• Makes width of the browser’s viewportequal to the width of the device’s screen
    • ResetViewport320pxDefaultViewport980px
    • Base CSS• Typography (font-size: 14px; line-height: 20px;)• Tables• Forms• Buttons• Icons by Glyphicons
    • Form Examples
    • Icon Examples
    • Components• Dropdowns• Button groups• Button dropdowns• Navs• Navbar• Breadcrumbs• Pagination• Labels and badges• Typography• Thumbnails• Alerts• Progress bars• Media object• Misc
    • Javascript• Transitions• Modal• Dropdown• Scrollspy• Tab• Tooltip• Popover• Alert• Button• Collapse• Carousel• Typeahead• Affix
    • Data Attributes• Trigger Bootstrap plugins without writing any JS• Use data-toggle to call the plugin• Use data-target or href to set your target<a href="#myModal" data-toggle="modal">Click me</a>
    • Bootstrap offers customization(But I prefer an override.css)
    • Thanks!• Ben MacNeillben.macneill@extension.org• Presentation at:slideshare.net/chillnc/