New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

custom-bs

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-bs

The most popular front-end framework for developing responsive, mobile first projects on the web.

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

Bootstrap logo

Custom Bootstrap

Sleek, intuitive, and powerful front-end framework for faster and easier web development.

Installation

  1. install cssmolecule
npm install cssmolecule
  1. 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";
// your sass entry point
import "./scss/main.scss";

Alternatively you can also import the files in your sass.

@import "cssmolecule/main.scss";
@import "custom-bs/scss/bootstrap.scss";
  • use it like this
// include what you want you want from the framework
// reboot/normalize
@include reboot;
// utilities
@include api;
// forms
@include forms;
// buttons
@include buttons;
.form {
  // you can use extend, apply or class
  @include extend("form-inline py-3");
  // your custom styles

  input,
  textarea {
    @include extend("form-control my-2 px-4");
  }
  button {
    @include extend("btn btn-primary w-100");
    // customize without using !important
    background-color: red;
  }
}
// to extend a class

.form-2 {
  @include extend("form", ".");
}

Youtube Video

A youtube video explaining how to use it

The Easiest Way Customize BootstrapCss Based Styles Without !important

Keywords

FAQs

Package last updated on 01 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc