Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wiledal/tusg


https://github.com/wiledal/tusg

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

TUSG


The Ultimate SCSS Grid

Creates global grid utility classes to be used to create powerful grid layouts in your project.

- 2kb gzipped (with default settings) 📦
- fully customizable ⚙️
- responsive columns ✨
- responsive gutter widths 🌈

Inititation:
```scss
// in your global.scss
@import "~tusg/tusg.scss";

// tusg-config:
// [size-name] [breakpoint] [gutter-width]
$tusg-config: (
xl 1240px 40px,
lg 1024px 32px.
md 768px 24px,
sm 480px 16px
);

@include tusg($tusg-config, 12); // initiate with breakpoints and 12 columns
```

Basic usage:
```html





```

Grids within grids:
```html



This container is 6 columns on the main grid.



This container is 4 columns on the main grid.




```