Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

inuit-box

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inuit-box

Basic box object for the inuitcss framework

  • 0.4.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
259
decreased by-26.21%
Maintainers
1
Weekly downloads
 
Created
Source

Box

The Box object simply boxes off content.

Dependencies

inuitcss’ Box object depends on three other inuitcss modules:

  • settings.defaults
  • tools.functions
  • trumps.clearfix

If you install the Box object using Bower, you will get these dependencies at the same time. If not using Bower, please be sure to install and @import these dependencies in the relevant way.

Installation

The recommended installation method is Bower, but you can install the Box module via a Git Submodule, or copy and paste.

Install using Bower:

$ bower install --save inuit-box

Install using npm:

$ npm install --save inuit-box

Once installed, @import into your project in its Objects layer:

@import "bower_components/inuit-box/objects.box";

Install as a Git Submodule

$ git submodule add git@github.com:inuitcss/objects.box.git

Once installed, @import into your project in its Objects layer:

@import "objects.box/objects.box";

Install via file download

The least recommended option for installation is to simply download _objects.box.scss into your project and @import it into your project in its Objects layer.

Usage

Basic usage of the Box object uses the required classes:

<div class="box">
    Foo Bar Baz
</div>

Options

Other, optional classes can supplement the required base classes:

  • .box--flush: remove all padding from boxes.
  • .box--[tiny|small|large|huge]: alter the padding on boxes.

For example:

<div class="box  box--large">
    Foo Bar Baz
</div>

Keywords

FAQs

Package last updated on 30 Jan 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