Create responsive layouts quickly with Bootstrap grid, utilities, components, and theming.
Lessons
Shrink the final CSS by purging unused classes.
Removing Unused CSS is easiest to learn by reading the example, changing it, and observing the result.
// custom.scss
$primary: #6f42c1;
$border-radius: 0.75rem;
// Override variables BEFORE importing Bootstrap
@import "bootstrap/scss/bootstrap";
// Compile with the Sass CLI or your bundler:
// npx sass custom.scss custom.cssPractice the Removing Unused CSS example in a small scratch file, then explain what changed and why.