spacing-bootstrap-3
Spacing SASS backwards port from Bootstrap 4 to 3
Last updated a month ago by entozoon .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install spacing-bootstrap-3 
SYNC missed versions from official npm registry.

Spacing - Bootstrap 3

Spacing SASS backwards port from Bootstrap 4 to 3

Make use of Bootstrap 4's spacing utilities.

Install (any of:)

npm i spacing-bootstrap-3

Integrate (as appropriate:)

@import 'node_modules/spacing-bootstrap-3/spacing';
@import '~/spacing-bootstrap-3/spacing';

Use

You can now use any spacing utility classes like:

<div class="p-1 py-sm-2 mb-lg-3"></div>

Configure

It actually uses linear increments for the spacings, based on the $grid-gutter-width by default, rather than bootstrap 4's bonkers built in one (which I've whinged about, but Mark Otto isn't having any of it).

Howsoever, you can easily override the defaults by setting a $spacers map variable.

Current Tags

  • 1.0.2                                ...           latest (a month ago)

3 Versions

  • 1.0.2                                ...           a month ago
  • 1.0.1                                ...           a month ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 23
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |