Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

sping/bootstrap-5-customization-with-css-variables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap 5 customization with CSS variables

Use Bootstrap’s CSS custom properties for fast and forward-looking design and development.

This repository is an example how to customize Bootstrap 5 with CSS variables.

CSS variables vs Sass variables

This example uses CSS variables. Another method is to use Sass variables.

Sass variables in Bootstrap 5 are probably more convenient for customization, but also needs some setup.

Documentation of available CSS variables

Documentation Bootstrap 5 CSS variables

Before / After

Before

After

About

Example project for customizing Bootstrap 5 with CSS variables

Topics

Resources

Stars

0 stars

Watchers

3 watching

Forks

Contributors