Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
Add note about span-columns accepting decimals
Browse files Browse the repository at this point in the history
After trying numerous more complex workarounds for a displaying number of columns that doesn't evenly divide into the grid I finally stumbled upon this: http://thisbythem.com/blog/odd-number-in-even-columns-with-neat/.

I figured explicitly calling out the decimal support in the dos could help other users in similar situations.
  • Loading branch information
kevinansfield committed Jan 9, 2015
1 parent 60dc0a3 commit ba9c789
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/assets/stylesheets/grid/_span-columns.scss
Expand Up @@ -9,6 +9,8 @@
///
/// The values can be separated with any string such as `of`, `/`, etc.
///
/// `$columns` also accepts decimals for when it's necessary to break out of the standard grid. E.g. Passing `2.4` in a standard 12 column grid will divide the row into 5 columns.
///
/// @param {String} $display (block)
/// Sets the display property of the element. By default it sets the display propert of the element to `block`.
///
Expand Down

0 comments on commit ba9c789

Please sign in to comment.