JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q47428F
  • License MIT

A layout system built for Stylus

Package Exports

  • nestle

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nestle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Nestle

This document is a work in progress...

Module Usage

Nest

Call nest() inside your project's stylus directory.

nest(1.5, -2.5, 6)

Apply class='nest padded' to element:

<div class='nest padded'>
  <!-- Level 1 Padded Content -->
  <div class='nest padded'>
    <!-- Level 2 Padded Content -->
  </div>
</div>

Grid

A grid consists of:

<div class='grid'>
  <div class='grid-items'>
    <!-- Elements to be displayed in a grid -->
  </div>
</div>