cSans

cSans is a light, flexible and modern CSS framework, compatible with modern browsers such as IE8+, Firefox, Safari, Opera... & other platforms

Latest changes:

The old cSans (0.x)

If you are looking for a css framework compatible with old browsers (IE5+), take a look to cSans 0.x in Google Code.

cSans 1.x

The new version of cSans is supported only by modern browsers and mobile devices (IE8+, FF3.5+, iOS, etc) because its usage of modern css3 properties.

The aim of cSans 1.x is to allow build modern and flexible websites for computers, tablets and mobiles. It's divided in the following utilities:

Reset the default styles

Reseting styles allows build web pages and apps easily, controlling all sizes and spaces from zero

By default, all styles will be reset. All headers have the same size, without margin and paddings. The new html5 elements (article, aside, footer, figure, etc) will be treated as block elements.

The form elements (textarea, inputs, etc) have the "box-sizing" property as "border-box" to facilitate defining a specific width. The textareas have the same appearance to textfields for consistency purpose (in webkit and mozilla).

By default, the list elements (ul and dl) don't have list style.

The default font family is Helvetica (and then, Arial) and by default the text rendering is "optimizeLegibility", that uses the kerning provided by the font.

But get text styles too!

Not always is a good idea reset everything. For example in an article, the h1 and h2 elements don't have to look equality, the ul list must be bullets, etc. So there is the class "text" that provide a more text-based reset, with spaces between paragraphs, various header sizes, etc. So you can build the webpage interface reseting all elements and reserve a space for the articles with typography features.

Basic utilities

cSans provides basic utilities to some specific purposes:

Fork me on Github