Socket
Socket
Sign inDemoInstall

chaestli

Package Overview
Dependencies
0
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    chaestli

A scss grid framework made in Switzerland and brought to you by dreipol


Version published
Weekly downloads
344
increased by9.9%
Maintainers
1
Install size
8.46 kB
Created
Weekly downloads
 

Readme

Source

chaestli

Dreipol scss grid system

Build Status NPM version NPM downloads MIT License

Documentation

  • API
  • Demo

Available mixins

Chaestli exports only 3 mixins (chaestli.container, chaestli.grid, chaestli.column) that combined together should be enough to scaffold your grid setup. For example:

@use 'node_modules/@dreipol/chaestli';

.grid {
    .grid__container {
        // a container having a max-with of 1024px with 16px lateral padding
        @include chaestli.container(( width: 1024px, edge: 16px ));
    }
   
    .grid__row {
        // a grid made of 12 columns with 8px lateral gutter
        @include chaestli.grid(( gutter: 8px, num-cols: 12 ));
    }

    .grid__small-col {
        // two columns over 12
        @include chaestli.column(2 span, 12 span);
    }

    .grid__medium-col {
        // for columns over 12
        @include chaestli.column(4 span, 12 span);
    }

    .grid__big-col {
        // eight columns over 12
        @include chaestli.column(8 span, 12 span);
    }
}

Usage

Installation

npm i chaestli -S

Keywords

FAQs

Last updated on 19 May 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc