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.
npm install mini-bootstrap
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",
});
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 |