Install via npm
For most projects (and to take advantage of the customization features), you'll want to install Webpixels CSS and its peer-dependencies via npm.
npm install @webpixels/css@latest bootstrap@latest --save-dev
This will automatically install the latest Bootstrap version, so you don't need to do that manually.
Import the styles into your CSS
In your main.scss, you’ll import the source Sass files. Bootstrap is automatically loaded when you use the source files, so you don't need to worry about what Bootstrap files should you incorporate in your styles.
You have two options: include all of styles at once:
or pick the parts you need:
@import "@webpixels/css/base"; @import "@webpixels/css/forms"; @import "@webpixels/css/components"; @import "@webpixels/css/utilities";
Check out our documentation website.
Explore, copy, use and mix hundreds of carefully crafted components made just for Bootstrap. Explore components
Get updates on the development of our CSS tool and chat with the project maintainers and community members.
Webpixels CSS is open-sourced software licensed under the MIT license.