Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    space.lesspublic

    space.less — toolkit for managing negative space

    npm version bower version

    Designed to make margins, paddings, gutters consistent across the project.

    From design point of view this is an argeement on what distance to use between objects in UI layout. From frontend perspective this is a set of classnames to rule margins and paddings on different media queries breakpoints. Together it is a part of communication language between designers and frontend developers.

    Installation

    Compiled from CDN
    https://unpkg.com/space.less@0.0.1/space.css
    https://unpkg.com/space.less@0.0.1/space.min.css
    https://unpkg.com/space.less@0.0.1/space.min.css.map

    NPM
    npm install space.less --save-dev

    Bower
    bower install space.less --save

    Using in HTML

    Include compiled space.css into head of page at the bottom. Or import space.less into your main .less file:

    @import (less) "node_modules/space.less/space.less";

    Apply classes to any HTML elements to get desired margins and paddings. See docs.

    install

    npm i space.less

    Downloadsweekly downloads

    32

    version

    0.0.2

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar