CSS frameworks have been the foundations of web projects for many years. However, in the age of responsive design, a framework has even more benefits. A well-built CSS framework or boilerplate can streamline the design process, save huge chunks of development time and ensure your website scales properly on all devices.
With so many choices available, though, it can be difficult to choose a framework to build on.
It's important to consider the following when making a decision: whether you require a grid, and if so, will it be fluid or fixed? What level of customization do you require? How much do you care about semantics? What level of support and documentation is available? What is the learning curve?
This post details 20 CSS boilerplates, frameworks and systems to help you make that decision.
1. Bootstrap
Bootstrap is a "sleek, intuitive and powerful front-end framework for faster and easier web development." It uses a 12-column responsive grid system and features dozens of components, styles and JavaScript plugins, with basic global display, typography and link styles.
Using the Customizer, you can really make Bootstrap your own by adjusting variables, components, JavaScript plugins and more. Expand Bootstrap by using a wealth of resources, including themes and interface building tools.
2. Less Framework
Catering for four layouts (default, tablet, mobile and wide mobile), with three sets of typography presets, Less is a responsive CSS grid system for designing adaptive websites. It takes a graceful degradation approach to responsive design — it serves a default layout of 992 px, and CSS3 media queries serve several child layouts: 768, 480 and 320px. Old desktop and mobile browsers only use the default layout, which, while not ideal for accessibility, means you won't have to IE-proof any of the child layouts, and can freely use modern CSS. Both desktop appsLess.app and CodeKit make it dead simple to use Less by automatically compiling .less files into standard CSS.
Of interest is Frameless, also built by Joni Korpi, which uses a fixed-width grid rather than a fluid grid. It is the "spiritual successor" to the Less Framework. It's a much simpler, more flexible idea that can easily integrate into your workflow.
3. Skeleton
Skeleton is a small boilerplate for responsive, mobile-friendly development. It is built on a lightweight 960 grid, which elegantly scales down to downsized windows, tablets and mobile phones. It's a tool for rapid development, built with CSS best practices, a well-structured grid, an organized file structure and much more. As a development kit, it stays style-agnostic and supplies only basic styles as a foundation, but is ready to adopt whatever design or style you choose. Its grid system is a variation of the familiar 960 grid, with simple syntax as an effective cross browser. The many media queries are almost exclusively targeted at max and min widths, rather than device sizes and orientations, meaning it's future-friendly.
The typography of Skeleton is designed to create a strong hierarchy of basic styles — the primary font is Helvetica Neue. However, the font stack can be easily changed. Older browsers are served the standard 960 grid, so a polyfill like Respond.js would be required.
4. Foundation
Foundation, from ZURB, is an advanced, lightweight, responsive, front-end framework. Based on a flexible, 12-column grid that can scale to an arbitrary size (defined by the max width of the row) that's easily nested. This means you can build complicated layouts without creating a lot of custom elements.
Foundation uses "box-sizing: border-box," so that borders and padding do not affect the overall width of the columns, making the math dead simple. With the mobile-first approach, the content is automatically stacked by default. There is also access to a separate small grid up to the 768px breakpoint.
The grid can be infinitely nested, with the offsets (up to 11) allowing for additional space between columns and rows. Foundation also includes dozens of elements and styles to speed up the prototyping and build phase, while ensuring the entire framework works on any and all devices.
5. Responsive Grid System
While not strictly a framework, Responsive Grid System offers a quick, easy and flexible way to create a responsive website. You can specify the number of columns (up to 12), which are fluid, with no need to hack offsets or margin-less final columns. Mobile versions of the grid are already baked in, and it plugs straight into your existing HTML and CSS. There's no need to do any complicated maths — Responsive Grid System uses percentages for the column widths and gutters.
It's simple to set up: Just choose the number of columns you want and paste them into your master CSS or reference them in the document "head." They include media queries to stack them on smaller screens.
6. Gumby Framework
Built with the power of Compass and SASS, Gumby is a responsive CSS framework. Its foundation is a hybrid grid that allows you to create layouts by defining what grid to use, wherever you want on the page. The built-in UI kit embraces the latest design trends and allows you to choose and mix flat design with more graduated design styles. Use the impressive, integrated Entypo Icons in any web project — they are resolution-independent.
From buttons to responsive images to skip links and intrinsic ratio video embeds, it's a fully featured, robust framework with a great toolset.
7. Base
Base is a super simple responsive framework built to function on mobile devices, tablets, netbooks and desktop computers. It also works with screen readers in mind and has nice no-js fallbacks. It's developed on LESS, a powerful CSS pre-processor that helps you write cleaner, more organized and easily maintained CSS. There are basic styles for headings, tables, blockquotes, forms and more. It works best in modern browsers and IE7 and up.
Built on top of a 12-column fluid and responsive grid, the basic HTML5 template (including jQuery) will get you started quickly. It also includes a default JavaScript file with base enhancements and fallbacks.
8. Semantic Grid System
Built by Tyler Tate, who authored the 1KB CSS Grid (no longer available), the Semantic Grid System can either be fluid or fixed width. It allows you to choose the number of columns, column widths and gutter widths to modify directly in the style sheet. And it's completely semantic and responsive, meaning the layout adapts to the size of the user's screen or device, using media queries. The separation of markup and presentation, and the convenience of the CSS grid are two important benefits of the Semantic Grid System.
The Semantic Grid avoids presentational CSS classes in the HTML markup itself, instead usingLESS (but SCSS and Stylus can also help) to control the layout in the stylesheet. All modern browsers are supported, as well as IE6 and up.
9. Responsive Grid System
A simple CSS framework for fast, intuitive website development, the Responsive Grid System is built using the mobile first approach, and is less than 1KB compressed. It's available with 12, 16 and 24 columns, with media queries for all standard devices. And it has an optional reset, a "clearfix" for clearing floats, and "box-sizing: border-box" for adding additional padding to elements.
The styles for the media queries, grid and reset are all smartly separated into individual CSS files, along with IE-specific styles. You only use what is needed, keeping stylesheet bloat to a minimum.
10. Compass
Compass is an open-source CSS Authoring Framework that uses Sass, an extension of CSS3, to adds rules, variables, mixins and more. It generates well formatted CSS and makes your stylesheets easier to organize and maintain, and it's full of reusable patterns. It's device-agnostic and provides common code that would otherwise be duplicated across other frameworks and extensions. The CSS3 module provides cross-browser mixins for CSS properties introduced in CSS3, while the typography module can aid in creating beautiful typographic rhythms. As Compass is packaged with so many common design patterns, it can really speed up development time.
Also of interest is Susy, which is a responsive grid framework for Compass. It lets you establish a grid system, including semantic-friendly breakpoints.
11. Columnal
A responsive CSS grid system is 1140px wide; however, it's fluid, so it responds to the width of most browsers. It's a "remix" of both the cssgrid.net and 960.gs projects, with built-in debugging CSS to show the structure of any pages being built. It also features sub-columns for added layout options and vertical spacing for CSS classes.
Columnal comes packaged with a PDF of the grid system for sketching and planning, along with wireframe templates for quick development. The responsive layout is supported through the use of Media Queries and by most modern browsers, with IE 6 and 7 degrading to either a 12-column 984px grid or a 960px-wide version.
Images and video shrink to fit, with no need to define the width or height inline. A demo page shows the responsive 12-column grid in action.
12. Fluid Baseline Grid
The Fluid Baseline Grid System is an HTML5 and CSS3 development kit that provides a solid foundation for quickly designing websites. Built with typographic standards in mind, it combines a fluid column layout and a baseline grid, with a mobile first responsive design approach to deliver an independent, device agnostic framework. Defaulted to a minimal three-column folding grid, which is divided into equal portions, Fluid encourages you to use this as a starting point and change the columns as your project requires. CSS styles are scaled up from the minimum instead of scaled down from the maximum, through the use of Media Queries.
The typography has been well thought-out, designed to establish a hierarchy that improves readability and creates harmony within the text and overall layout. The code is simple, lightweight and unobtrusive, easily modified for each project.
13. Profound
Profound is a responsive grid system for fixed and fluid layouts. It is built in SASS, giving you complete flexibility and full control. You can make the grid fluid and add per-media layouts as needed, as well as change the column and gutter widths or add and remove columns as needed. The grid keeps your markup semantic and, unlike other grid systems, the fluid layouts will look exactly the same in every browser, with negative margins to calculate columns.
The variety of layouts that can be created using Profound is immense, from fixed width to nested grids, through to responsive fluid and multiple grids within the same page. Flexibility is a standout feature.
14. Goldilocks
Built by the team at Design by Front (recently acquired by Monotype), the Goldilocks approach to responsive web design is a boilerplate, with the CSS and HTML based on current best practices. It aims to take the device out of the equation, allowing you to build layouts that work across all contexts, even ones that haven't been invented yet. Starting with the most common form of content, the paragraph element, and build up to a full layout, using a combination of Ems, Max-Width, Media Queries and Pattern Translations. Consider just three states (multi-column, narrow column and single column) that allow your designs to be resolution-independent.
It also includes good typographic defaults as a base, including print contexts. Overall, the Goldilocks approach is a boilerplate worth consideration.
15. Gridless
Gridless is a HTML5 and CSS3 boilerplate for creating responsive, mobile first, cross-browser websites with ease. It comes packed with CSS normalization, beautiful typography, a well-organized folder structure, IE bug fixes and much more. It encourages progressive enhancement and is meant as a starting point, which should be edited, tweaked and overwritten to suit each project's design requirements. Gridless adapts itself to a device's width, meaning it'll work anywhere: old feature phones, newer smartphones, tablets, notebooks and bigger desktops. As IE6/7/8 don't support media queries, it uses Respond.js as a polyfill.
It's an extremely simple and straightforward boilerplate, which features optimal caching and safe CSS hacks, instead of conditional classnames, and will work in most modern browsers.
16. InuitCSS
InuitCSS is an object-oriented, powerful, scalable framework. It's SASS-based and is full of objects and abstractions. It provides little to no design, which means no undoing things, no deleting CSS and no adhering to other people's design decisions. It is built on a BEM-stylenaming convention, and is ideally suited to designers who want to focus on the creative and not code, and developers who understand the need for abstraction and an OO approach. InuitCSS gives you design patterns, not design decisions, and features nestable, fluid grids, a double-stranded heading hierarchy, sprites, buttons and a lot more.
InuitCSS is a a modern framework for modern browsers and takes advantage of normalize.css. It is intended for IE8 and above only.
17. Blueprint
Blueprint is a CSS framework which provides a solid foundation on which to build your project, with an easy-to-use grid, sensible typography, useful plugins and even a stylesheet for printing. A CSS reset eliminates any discrepancies across browsers, and the solid grid can support even the most complex layouts. Blueprint is set on a typographic baseline with powerful scripts for customization, and also includes form and print styles, buttons, tabs, sprites and templates for every step in your workflow.
Blueprint is no longer actively developed; however, with some carefully considered Media Queries, Blueprint layouts could adapt to mobile and tablet devices.
18. YAML
Released in 2005 and continuously developed since then, YAML (Yet Another Multicolumn Layout) is a responsive, modular CSS Framework for creating flexible, accessible websites. It's built on a flexible grid system, with optimized typography for all standard elements, to allow for rapid prototyping. It's well prepared for both HTML5 and CSS3 and has a small footprint of only 4.6KB. YAML allows for independent control of grid-column widths and gutters, and the flexibility to use responsive, fixed-width and nested grids, with advanced grid features and configurations. The provision of a complete set of matched building blocks to create complex websites is extensive, from navigation to forms, typography and other add-ons, which all work seamlessly together.
YAML is a stable, versatile layout framework that is regularly updated, with integrationresources, tutorials and templates available for various content management systems.
19. Gridlock
Gridlock is a responsive CSS grid system that utilizes screen size-specific class names and column counts, giving designers and developers the foundation for crafting an experience that better matches the target device. Three distinct grid sizes that correspond to specific screen sizes are used: desktop, tablet and mobile. The desktop features a full 12-column grid; the tablet grid snaps down to six columns; and mobile contains only three columns. The syntax is simple and easy to read, and can be adjusted to fit the target device's screen size by applying the appropriate class names. Gridlock also includes some faction helper classes.
Particularly useful is the Gridlock bookmarklet, which adds a simple overlay to help debug alignment issues. You can also trigger the bookmarklet to load automatically on each page of a site.
View the demo for a review of Gridlock's functionality.
20. 960 Grid System
Released in 2008, the 960.gs quickly became a popular choice, as it's ideally suited to rapid prototyping. All of your site's elements are within a 960px-wide container, which can be divided into 12, 16 or 24 equally sized columns. A 10px margin is placed at the right and left of the main content column, with all the numbers based on the golden ratio, meaning no funky spacing issues or decimal points to contend with. Rearrange elements independent of the order in which they appear in the markup by using "push" and "pull" CSS classes. This allows you to keep more pertinent info higher in the HTML.
Included in the download are printable sketch sheets, design layouts and templates for several major applications, such as Adobe Photoshop, GIMP and QuarkXPress.
Here are a variety of other CSS systems and frameworks you may also be interested in:
1. Amazium
2. 34 Grid
3. Gridiculo.us
4. Less+ Framework
5. BluCSS Framework
6. Ingrid
7. Titan Framework
8. Golden Grid System
9. Zen Grids
10. Rock Hammer
11. Kube CSS Framework
12. HTML5 Mobile Boilerplate
13. Proportional Grids
14. Stack Layout
15. Simple Grid
16. Initializer
17. Groundwork CSS
18. Ivory
19. Unsemantic
20. CSS Horus
21. ResponsiveAeon
22. Toast CSS Framework
23. Sassaparilla
courtesy : http://mashable.com/2013/04/26/css-boilerplates-frameworks/
0 comments:
Post a Comment