mini-bootstrap
v1.0.3
Published
Mini-bootstrap to add stylings to your website
Downloads
4
Readme
MINI-BOOTSTRAP 🚀
This is my very first basic npm package. Use it to style your website. It contains HTML, CSS and JavaScript-based design templates for some interface components.
Installation
npm install mini-bootstrap
Usage
Add the class apply-styles to apply your styling to the DOM element.
<div class='apply-styles'></div>
Then, in the javascript file
import {styles} from 'mini-bootstrap';
styles({
shadow : "hard",
});
Documentation
Apart from shadows, you can also add the following property: |Property|Possible values| |--------|---------------| |shadow| hard / soft| |border| hard / soft| |padding| p-1 /p-2 /p-3 /p-4 /p-5| |margin| m-1 /m-2 /m-3 /m-4 /m-5| |fontSize| sm / md / lg /| |fontWeight| light / normal / medium / bold|