Comparing different solutions you notice some big features more or less included in the most popular frameworks:
- Best practices like: a “human readable” directory structure, robots.txt, humans.txt, a 404 page, use of CDN, url rewriting, convention over configuration.
- Prototyped web pages elements: page structure (header, content, footer), tabs, breadcrumbs, navigation menus, glyphicons, styled buttons, forms helpers, carousel / gallery / lightbox, sliding / scrolling / collapsig / fading effects.
- A strong approach to changes in web user experience: a responsive layout normally based on grids of floating DIVs (see http://960.gs/), collapsible menus, images resizing / fitting /cropping, autocompletion, ajax search.
"Skeleton is a small collection of CSS files that can help you rapidly develop sites that look beautiful at any size, be it a 17" laptop screen or an iPhone."Skeleton is the zen garden of HTML5 frameworks, clean, light (40kb uncompressed), essential, no javascript added, without other files than the needed for a basic page.
Responsive and mobile-friendly, defined as “Style Agnostic” to underline that the product is a solid foundation where you can add your favorite styles.
The raw folder structure is:
- index.html: The base html page that includes the necessary initial markup
- stylesheets (folder)
- base.css: Basic styles of Skeleton
- skeleton.css: The glorious Skeleton grid
- layout.css: File with no specific styles, but a variety of useful media queries
- images (folder):
- favicon.ico: Standard 16x16 favicon
- apple-touch-icon (x3): All three sizes of Apple touch icons for iPhone 3, iPad and iPhone 4 with retina.
For instance, the code for a two-columns layout could be:
Mauris feugiat
metus at condimentum tempor
Lorem ipsum dolor
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus blandit volutpat aliquam. Praesent et enim venenatis, gravida sem sit amet, mollis mauris. Proin euismod, mauris sed sodales gravida, felis nisi scelerisque massa, vitae ornare mauris ante id nulla.
Or:
Suspendisse potenti. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vivamus bibendum aliqua est, at condimentum turpis. Pellentesque nec erat ornare, auctor urna et, laoreet diam. Nam scelerisque vel purus id posuere.
The css files contain a set of predefined values for: a stable typography, buttons, form classes, and several built in media queries:
- Smaller than 960: Smaller than the standard base grid
- Tablet Portrait: Between 768px and 959px
- All Mobile Sizes: Less than 767px
- Just Mobile Landscape: Between 480px and 767px
- Just Mobile Portrait: Less than 479px
Guides:
http://www.1stwebdesigner.com/css/psd-to-html-artthatworks-skeleton-boilerplate/
http://untame.net/2012/06/responsive-design-with-the-skeleton-css-boilerplate/
Videos:
Using Skeleton in 11 videos:
Create a Responsive Homepage in 5 Minutes or Less with Skeleton:
No comments:
Post a Comment