3.0.0 • Published 4 years ago

css-grid-guides v3.0.0

Weekly downloads
149
License
MIT
Repository
github
Last release
4 years ago

CSS Grid Guides

A small library that reveals CSS grid guides to aid in development

npm.io

Installation

npm i css-grid-guides

Usage

Make sure you're doing something like this in order for this library to work correctly

* {
  box-sizing: border-box;
}

Call gg() after the DOM has loaded

import { gg } from "css-grid-guides";

// Defaults
// {
//   selector: ".grid",
//   color: "rgb(240,128,128)",
//   opacity: 0.3,
//   showNumbers: true,
// }

// Use defaults
gg();

// Override specific properties
gg({
  selector: ".grid-dev",
  color: "green",
});
3.0.0

4 years ago

2.3.0

4 years ago

2.2.1

4 years ago

2.2.2

4 years ago

2.2.0

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago