Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

Chassis.css icon

Chassis.css

A minimalistic grid & typography CSS framework. Check out the comprehensive guide at https://chassis.joeleisner.com.

Changelog

Version 4.0.5

This patch updates autoprefixer and gulp-sass to their latest versions, fixes security vulnerabilities with development dependencies, and simplifies the Gulp tasks and NPM scripts to make maintenance and development easier.

Version 4.0.4

This patch updates autoprefixer to its latest version, fixes security vulnerabilities with the development dependencies, and simplifies the header used within the output files.

Version 4.0.3

This patch explicitly sets the font-size of code elements (pre, code, kbd, and samp) to 1rem. It also updates autoprefixer and its sub-dependency of caniuse-lite to their latest versions.

Version 4.0.2

This patch no longer explicitly sets the root font-size to 16px, leaving it up to the browser's default and respecting the user's preference if set. It also updates some packages to their latest version.

Version 4.0.1

This patch brings some much needed stability to the framework after its big release. Here's what to expect:

  • Rows no longer change their flex-direction between column on extra small viewports and row on small viewports and above.
    • Rows now wrap columns to vertically stack them.
    • Vertical and horizontal alignment modifier classes no longer flip-flop functionality between extra small and small viewports.
    • The reverse row modifier class, .row.rev, has been changed.
    • The way columns fill the row's width on extra small viewports has been changed.
  • New align content modifier classes, .ac-*, have been added to provide more vertical alignment options.

Version 4.0.0

Chassis.css has been overhauled from the ground up to support some killer new features. Here's what you can look forward to:

  • The grid system now uses Flexbox!
    • You can simply use the .col class to automatically take up remaining space in a row.
    • .row.rev allows you to quickly reverse the order of a row.
    • Gone are the days of push/pull - You can now order/space your columns with .or-* (order), .or-r* (order reset on mobile), and .os-* (offset) classes.
    • You can now vertically/horizontally align columns with .ai-* (align-items), .as-* (align-self), and .jc-* (justify-content) classes.
  • The reset and typography defaults have been ironed out.
    • The reset only overrides necessary things and avoids practices that can compromise accessibility.
    • Overall sizes and spacing between typography elements have been simplified dramatically.
    • New heading .h* classes allow you to make any typography element look like a heading.
  • Utility classes, particularly for margins/padding, have become way more concise/versatile.
    • These classes are now constructable, allowing you to target all/specific sides, add negative/positive adjustments, and utilize 6 levels of adjustments.

Plus more! There's a lot in this update to get excited about.

Check out the changelog for previous release information.

Installation

# NPM Package
npm i chassis-css

# Repo
git clone git@github.com:joeleisner/chassis-css.git
cd chassis-css
npm i

Development

# Build all production/development assets (CSS & SASS)
npm run build

# Watch for changes and build development CSS
npm run develop
npm run dev
npm run start

Author

Joel Eisner

You can’t perform that action at this time.