Baffin-CSS is a project mainly written in ..., it's free.
A collection of SASSy default styles
Baffin is a starting place CSS. No delusions of grandeur here—just a couple of SASS mixins that provide minimal typography and grid support to your stylesheets.
And the name? It's just someplace up north I heard of once.
To include Baffin's default styling, include the following at the top of your project’s SCSS source files:
@include baffin-typography();
@include baffin-grid(12,2%);
Compile using SASS or use a parser to include the styles directly. You now have access to a number of helper classes, including:
.amp
— switch to prettier fonts for ampersands .assistive-text
— hide text except from screen readers and assistive devices.caps
— switch type to all caps.hidden-text
— hide text.mobile-text
— hide text on non-mobile screens.print-text
— hide text from printers (note: text must be display
ed manually).smaller
— reduce the size of the text to 0.8em.text-center
— center text.text-left
— align text left.text-right
— align text right.clearing
— clears left-floating .grid-#
elements.grid-#
— defines an element spanning #
columns in the grid.layout
— defines a layoutTry something like the following to test it out:
<h1>Greetings from the Northland!</h1>
<ul class="layout">
<li class="grid-4">Baffin</li>
<li class="grid-4">Helluland</li>
<li class="grid-4">Qikiqtaaluk</li>
</ul>
RJ Zaworski [email protected]
Baffin CSS is released under the JSON License. You can read the license here.