Custom Bootstrap
Sleek, intuitive, and powerful front-end framework for faster and easier web development.
Installation
- install cssmolecule
npm install cssmolecule
- install custom-bootstrap
npm install custom-bs
Usage
- in your
main.jsx
or main.tsx
or main.js
file import the following:
import "cssmolecule";
import "custom-bs";
import "./scss/main.scss";
Alternatively you can also import the files in your sass.
@import "cssmolecule/main.scss";
@import "custom-bs/scss/bootstrap.scss";
@include reboot;
@include api;
@include forms;
@include buttons;
.form {
@include extend("form-inline py-3");
input,
textarea {
@include extend("form-control my-2 px-4");
}
button {
@include extend("btn btn-primary w-100");
background-color: red;
}
}
.form-2 {
@include extend("form", ".");
}
Youtube Video
A youtube video explaining how to use it
