Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ikeohachidi/kwik-css


https://github.com/ikeohachidi/kwik-css

bootstrap css sass scss tailwind

Last synced: 24 days ago
JSON representation

Awesome Lists containing this project

README

        

# kwik-css

The minimal css classes needed to get started with most projects in my opinion.

Not supposed to be an alternative to Tailwind or Bootstrap but can be used when you just some utility classes and will most likely write most of your styles yourself.

### Installation
**NPM**
```shell
npm i kwik-css
```
**Usage**
```javascript
import 'kwik-css/kwik.css';
```

**Padding**
```css
.p-
.pt-
.pr-
.pb-
.pl-
```
Ranges from 0 to 5 with values all in `em`

**Margin**
```css
.m-
.my-auto
.mx-auto
.mt-auto
.mb-auto
.ml-auto
.mr-auto
.mt-
.mr-
.mb-
.ml-
```
Ranges from 0 to 5 with values all in `em`

**Display**
```css
.block
.inline-block

.flex

/* should be used with flex */
.column
.row

.grow /*flex-grow: 1*/
.center /* center items */
.wrap
.jc-center /* justify-content: center */
.jc-between /* justify-content: space-between */
.jc-evenly /* justify-content: space-evenly */

/* align-items */
.items-start
.items-center
.items-end
```

**Positioning**
```css
.fixed
.absolute
.relative
.top-0
.left-0
.right-0
.bottom-0
```