scss-next-grid

1.0.0 • Public • Published

SCSS Grid Helpers -- based on display:grid

NPM

Example usage:

// Create a grid with 3 equal columns 
.element{
    @include grid(3) 
}
 
// Create a 3 columns 
// The grid has 2 fixed width columns and the middle column has flexible width 
// Also set the gap between columns to 50px 
.element{
    @include grid("200px 1fr 200px");
    @include gap(50px);
}

Readme

Keywords

none

Package Sidebar

Install

npm i scss-next-grid

Weekly Downloads

8

Version

1.0.0

License

ISC

Unpacked Size

1.6 kB

Total Files

4

Last publish

Collaborators

  • smartik