WeCodeAcademy

Bootstrap Dark Mode and Customisation

Bootstrap 5.3 supports colour modes: set data-bs-theme="dark" on any element and everything inside switches. To change Bootstrap's look further you override CSS variables or compile its Sass.

Examplehtml
Open in editor »
Quick check

Which attribute switches a region to Bootstrap dark mode?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.