
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@gridonic/grid
Advanced tools
A CSS Grid based on the flex display property written entirely in Sass respecting the rscss system.
A CSS Grid based on the flex display property written entirely in Sass respecting the rscss system.
npm install --save @gridonic/grid
All you need to remember is row → column → your content.
Responsive modifiers (e.g. -xs, -sm, -md etc) enable you to specify different column sizes, offsets, alignments and distributions at different viewports. Those modifiers may differ depending on your configuration.
Depending on your build process you can import the grid as easily as this:
// Put your variables before the import
// in order to override the default settings.
$grid-columns: 24;
$grid-gutter-width: 30px;
$grid-outer-margin: 14px;
@import "~@gridonic/grid";
If your build process does not support resolving the ~ you may need to write it like that:
@import "../path-to-your-node_modules/@gridonic/grid";
Below you see the default configuration values.
// Set the number of columns you want to use on your layout.
$grid-columns: 12;
// Set the gutter size between columns.
$grid-gutter-width: 1rem;
// Set a margin for the container sides.
$grid-outer-margin: 2rem;
// Set the breakpoints for the grid.
$grid-breakpoints: (
xs: null,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px
);
// Set the maximum width for the container.
$grid-max-width: 1440px;
// Set the prefix for all grid related classes.
$grid-classes-prefix: "grid-";
This grid is heavily inspired by the work of @kristoferjoseph and @hugeinc. Thank you guys! :heart:
FAQs
A CSS Grid based on the flex display property written entirely in Sass respecting the rscss system.
The npm package @gridonic/grid receives a total of 38 weekly downloads. As such, @gridonic/grid popularity was classified as not popular.
We found that @gridonic/grid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.