Skip to content

ikeohachidi/kwik-css

Repository files navigation

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

npm i kwik-css

Usage

import 'kwik-css/kwik.css';

Padding

.p-<number>
.pt-<number>
.pr-<number>
.pb-<number>
.pl-<number>

Ranges from 0 to 5 with values all in em

Margin

.m-<number>
.my-auto
.mx-auto
.mt-auto
.mb-auto
.ml-auto
.mr-auto
.mt-<number>
.mr-<number>
.mb-<number>
.ml-<number>

Ranges from 0 to 5 with values all in em

Display

.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

.fixed
.absolute
.relative
.top-0
.left-0
.right-0
.bottom-0

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published