1.1.0 • Published 3 years ago

mcssbase v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

base.css

Base CSS to start a design system

Usage

npm i mcssbase

Html

<link rel="stylesheet" href="<mcssbase_root>/dist/css/base.css" />
<!-- or use the minified version -->
<link rel="stylesheet" href="<mcssbase_root>/dist/css/base.min.css" />

JS

import 'mcssbase/dist/css/base.css';
// or use the minified version
import 'mcssbase/dist/css/base.min.css';

Starting with Bootstrap

The following wheels are not to be reinvented.

Reboot

https://getbootstrap.com/docs/5.0/content/reboot/

Breakpoints

https://getbootstrap.com/docs/5.0/layout/breakpoints/

Grid system

https://getbootstrap.com/docs/5.0/layout/grid/

Colours

@TODO

Utilities

Following utilities are included in base.css

CSS Variables

NameDescriptionDefault
--base-spacingBase value for spacing utilities such as .mt-* and .pb-*8px
--color-*Colour names