New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nib-styles/sass-spacing

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nib-styles/sass-spacing

SASS mixins for margin and padding. Plus a compiled set of responsive margin and padding classes.

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

@nib-styles/sass-spacing

SASS mixins for margin and padding. Plus a compiled set of responsive margin and padding classes.

Installation

NPM:

npm install --save @nib-styles/sass-spacing

Component:

component install nib-styles/sass-spacing

Usage

SCSS:

@import "@nib-styles/sass-spacing/compiled";

HTML:

<div g-md="p3 mb3">
  20px padding and 20px margin-bottom for >=md breakpoint
</div>

<div g-xs="p2" g-sm="p4" g-lg="p0">
  10px padding <sm, 40px padding <lg, 0px padding above
</div>

<div g-xs="px5 mb3" g-sm="p4">
  60px padding left/right and 20px margin bottom <sm, 20px padding above
</div>

See sass-spacing for more in-depth usage information.

Sizes

  • 0 - 0
  • 1 - 5px
  • 2 - 10px
  • 3 - 20px
  • 4 - 40px
  • 5 - 60px
  • 6 - 80px

Breakpoints

See the @nib-styles/sass-breakpoints package for a list of available breakpoints.

Changelog

v1.0.0

  • using !important

FAQs

Package last updated on 19 Nov 2015

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc