Forms
Beautiful, consistent form controls that don't compromise browser accessibility.
Grid
An "Implicit Grid" created using flexbox. Just a single class to create a grid.
Typography
All elements and components align perfectly to the baseline grid.
A sassy, opinionated CSS Framework. A tiny alternative to Bootstrap.
npm install [email protected]
Beautiful, consistent form controls that don't compromise browser accessibility.
An "Implicit Grid" created using flexbox. Just a single class to create a grid.
All elements and components align perfectly to the baseline grid.
Easily customize the default variables and include only the files you need.
The BEM Methodology is used for naming conventions, because it's simple and flexible.
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.
However, if you're looking for something in between normalize.css and a full blown framework, meet Cutestrap. Cutestrap is only 8kb of CSS.
Form controls are unified in both their display and in their semantic markup. Because they are modified using only CSS, accessibility doesn't suffer.
A default button is applied with the .btn class or automatically on button tags or button/submit inputs.
Link
The grid is completely implicit, so columns will size themselves to be equal width to their siblings.
25% Column25% Column25% Column25% Column
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.
|
The grid will start 600px screen width. |
|
|
|
|
The grid will start at 960px screen width. |
|
|
|
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.
|
Half the weight of the default column. |
|
|
|
|
Twice the weight of the default column. |
|
|
|
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. |
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.
Paragraph
Preformatted
Blockquote
| Table Header | Table Header |
|---|---|
| Table Cell | Table Cell |
| Class | Effect |
|---|---|
.disabled |
Disables pointer events and lowers the opacity |
.clearfix |
Force an element to self clear its children |
.f-none |
Set the float property to none |
.f-left |
Set the float property to left |
.f-right |
Set the float property to right |
.ta-left |
Left align the text |
.ta-center |
Center align the text |
.ta-right |
Right align the text |
.fw-light |
Light (300) font weight |
.fw-normal |
Normal (400) font weight |
.fw-semibold |
Semibold (500) font weight |
.fw-bold |
Bold (600) font weight |
.fs-small |
Small font size |
.fs-base |
Default font size |
.fs-large |
Large font size |
If you notice something is broken or would like to request a feature, please open an issue on Github. You can also fork the repo and open pull requests, just check the README for guidelines.
If you want to chat, Shoot me an email.