KSS Documentation is generated using KSS, making cutestrap a simple launching point for your styleguide.

The BEM Methodology is used for naming conventions, because it's simple and flexible.

Easily customize the default variables and include only the files you need.

All elements and components align perfectly to the baseline grid.

An "Implicit Grid" created using flexbox. Just a single class to create a grid.

However, if you're looking for something in between normalize.css and a full blown framework, meet Cutestrap. Cutestrap is only 8kb of CSS.

There are plenty of amazing front end frameworks already, such as, Bootstrap and Foundation . If you're looking for something feature rich with loads of components, those are both great choices.

Forms

Form controls are unified in both their display and in their semantic markup. Because they are modified using only CSS, accessibility doesn't suffer.

Your Name Flavors Chocolate Vanilla Flavor Cone Bowl Special Requests Sprinkles



Your Name Flavors Chocolate Vanilla Flavor Cone Bowl Special Requests Sprinkles



Buttons

A default button is applied with the .btn class or automatically on button tags or button/submit inputs.

Default Secondary Link

Default Secondary Link

Grid

The grid is completely implicit, so columns will size themselves to be equal width to their siblings.

25% Column 25% Column 25% Column 25% Column

Grid Modifiers

The grid will display on all screens by default. If you'd like the grid to only start on larger screens, you can use these modifier classes. Columns will be stacked on smaller screens.

.grid--medium The grid will start 600px screen width. .grid--large The grid will start at 960px screen width.

Column Modifiers

By adding these modifier classes, you will change the flex-grow property that the columns use to size themselves, effectively changing the "weight" of the column. Heavier weighted columns will be wider than lighter columns. If all the weights are equal, the column widths will be equal.

.column--light Half the weight of the default column. .column--heavy Twice the weight of the default column.

Wrappers

Wrappers are classes that have a max-width and padding. The size of the wrapper, determines max-width and the padding.

Class Effect .wrapper-small Max width of 640 with top/bottom padding equal to the baseline. .wrapper Max width of 960 with top/bottom padding of twice the baseline. .wrapper-large Max width of 1200 with top/bottom padding of three times the baseline.

Typography

All the typography is sized using rems (based on 62.5% by default, going up to 78.125% on screens larger than 960px), to a baseline of 2.4rem by default. Every element adheres to this baseline grid with perfect vertical rhythm.

Headline 1

Paragraph

Headline 2

Unordered item

Unordered item

Headline 3

Ordered item Ordered item

Headline 4

Preformatted

Headline 5

Blockquote

Headline 6

Table Header Table Header Table Cell Table Cell

Utilities