Flexible Framework: Background-Color
_background-colors.scss
Background-Color: Requirements
_color-variables.scss
Background-Color: Black & White
Black and White cannot be lightened or darkeded with class name extensions (use gray).
Minimal |
.bg-black |
Abbr Strict |
.bg-color-black |
Strict |
.background-color-black |
Minimal |
.bg-white |
Abbr Strict |
.bg-color-white |
Strict |
.background-color-white |
Background-Color: Class Prefix Options (Required)
Class names can be written three different ways depending on your desired specificity.
Minimal |
.bg |
Abbr Strict |
.bg-color |
Strict |
.background-color |
Background-Color: Class Color Extensions (Required)
The following color extensions can be customized and extended in the variable-settings.scss file.
-gray |
-primary |
-success |
-danger |
-warning |
-info |
-harvest |
-royal |
Background-Color: Class Brightness Extensions (Optional)
The following breakpoint extension can be customized and extended in the variable-settings.scss file.
-darkest |
-darker |
-dark |
-light |
-lighter |
-lightest |
Background-Color: Class Force Print Extension (Optional)
The following print extension forces the background color to print no matter the browsers settings.
Background-Color: Example Code
Background-Color
Background-Color
Background-Color
Background-Color
Background-Color: Swatches
.bg-black
.bg-color-black
.background-color-black
.bg-white
.bg-color-white
.background-color-white
-darkest
-darker
-dark
.bg-gray
.bg-color-gray
.background-color-gray
-light
-lighter
-lightest
-darkest
-darker
-dark
.bg-primary
.bg-color-primary
.background-color-primary
-light
-lighter
-lightest
-darkest
-darker
-dark
.bg-success
.bg-color-success
.background-color-success
-light
-lighter
-lightest
-darkest
-darker
-dark
.bg-danger
.bg-color-danger
.background-color-danger
-light
-lighter
-lightest
-darkest
-darker
-dark
.bg-warning
.bg-color-warning
.background-color-warning
-light
-lighter
-lightest
-darkest
-darker
-dark
.bg-info
.bg-color-info
.background-color-info
-light
-lighter
-lightest
-darkest
-darker
-dark
.bg-harvest
.bg-color-harvest
.background-color-harvest
-light
-lighter
-lightest
-darkest
-darker
-dark
.bg-royal
.bg-color-royal
.background-color-royal
-light
-lighter
-lightest