Socket
Book a DemoInstallSign in
Socket

csstainable_grid

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csstainable_grid

0.0.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

csstainable grid

Generate a world-class SASS grid from the command line.

Installation

Install the gem and run the generator

gem install 'csstainable_grid'

Then, run the generator with the paths it needs (see Options below)

csstainable_grid --columns 24 --sass-library-dir . --sass-grid-dir .

Required Options

You must specifiy path folders where the two files will generate.

  • --sass-library-dir - place this file where you @import other variables and mixins (does not render CSS)
  • --sass-grid-dir - place this in the @import structure where you have other CSS declarations.

I strongly suggest you always separate your non-rending SASS (variables and mixins) from your rendering SASS (CSS declarations and placeholders).

What it generates

The two files that compose the grid:

  • _library.sass - the variables and mixins to generate the grid
  • _grid.sass - grid classes for use in markup

FAQs

Package last updated on 13 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.