New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grido

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grido

Grido is a grid developed between Star Wars Rebels and A New Hope (Han shot first!)

2.0.1
latest
Source
npm
Version published
Weekly downloads
33
17.86%
Maintainers
1
Weekly downloads
 
Created
Source

Grido

Grido is a flexbox grid developed between Star Wars Rebels and A New Hope (Han shot first!)

Installation

// with npm
npm install grido

// with yarn
yarn add grido

Usage

// [file].js
import 'grido'
<!-- [file].html -->
<div class="grido"> <!-- creates a container with flexbox -->
  <div class="g__col--1"> <!-- creates a column -->
  </div>
  <div class="g__col--5">
  </div>
  <div class="g__col--12"><!-- Grido supports 12 columns max -->
  </div>
  ...
</div>

Edit Grido

Reverse order

<div class="grido g--reverse">
  ...
</div>

Vertical

<div class="grido g--vertical">
  ...
</div>

Vertical and reverse

<div class="grido g--vertical g--reverse">
  ...
</div>

No wrap

<div class="grido g--nowrap">
  ...
</div>

Wrap reverse

<div class="grido g--wrap-reverse">
  ...
</div>

Changed order

<div class="grido">
  <div class="g__col--2 g__order--5">
  </div>
  <div class="g__col--2 g__order--3">
  </div>
  <div class="g__col--2 g__order--1">
  </div>
  <div class="g__col--2">
  </div>
  <div class="g__col--2 g__order--2">
  </div>
</div>

Align-self

<div class="grido">
  <div class="g__col--4">
  </div>
  <div class="g__col--4 g--align-self-end">
  </div>
  <div class="g__col--4 g--align-self-center">
  </div>
</div>

License

This project is licensed under the terms of the MIT license.

Keywords

css

FAQs

Package last updated on 14 Mar 2021

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