Getting Started
To get things going, simply extract the Core package linked below to your application. The package contains all necessary files, including CSS, JS, images, fonts, etc.
Note: This is subject to change. Plans for the near future are to set up a centralized distribution server that will serve the Core styles to all applications that use them. This will enable cross-application caching and other advantages that come with serving resources from another domain.
Resources
You can find the Core package in version 0.4.1 here:
Download Core resources, v0.4.1Implementation
CSS-Inclusion
The core.css
file is the heart of the Core styles. It will load all other necessary resources.
Page Structure
You only need one page-wrapper to get the default site-width of 984px. This page-wrapper have to be the first child of the body-tag.
Additional Includes – JavaScript Dependencies
The Core styles make heavy use of CSS media queries and CSS3 selectors. Both are generally not supported in some legacy browsers, most notably the Internet Explorer 8 and below.
There are two JavaScript libraries included in the Core package that will enlighten these more stubborn browsers.
Respond.js
The respond.js script is a lighweight (1kb gzipped) tool that will allow Internet Explorer 8 and below to understand media queries, which are integral to the responsive design tools included in the Core styles.
As the script is not needed in browsers other than IE8 and under, you can wrap it conditional comments to prevent more up-to-date browsers from loading it.
The script should be loaded as soon as possible after all your CSS includes to minimize layout jumps in the affected browsers.
Modernizr
The modernizr script is mainly a feature detection tool. It will also enable older browsers to display (though not understand) HTML5 elements,
(such as the <header>
and <article>
tags found throughout this documentation).
Note: You can leave this out if you are not going to use HTML5 elements and have no use for JS-based feature detection.