OOOOPS. Your browser seems to be too old for this. Please update your browser.
Teutonic CSS
Use it

Tinted background

Paint the town again. With this wrapper you’ll modify the background color and some magic extras with the predefined states warn, success and danger or your own colors.

The tinted background class will only color child elements, that already have a background color. To alter the background color of an element directly use the background color class. This can be combined with colored text and borders. See the form validation example. When applied to a whole container, like in the example below, everything will be tinted in a mono-colored way. To match all states (hover, disabled …), five color variables need to be set. Keep an eye on paint performance when working with tinted images.

Syntax: .tinted-bg-{color}
SCSS: _tinted.scss
No Class is standard
Photo via picsum.photos
standard image
CSS is awesome
div.box
.active
a.box
mini-info
progress
Danger is redish .tinted-bg-danger
Photo via picsum.photos
redish image
CSS is awesome
div.box
.active
a.box
mini-info
progress
Warn is yellowish .tinted-bg-warn
Photo via picsum.photos
yellowish image
CSS is awesome
div.box
.active
a.box
mini-info
progress
Success is greenish .tinted-bg-success
Photo via picsum.photos
greenish image
CSS is awesome
div.box
.active
a.box
mini-info
progress
Custom is different .tinted-bg-custom
Photo via picsum.photos
different image
CSS is awesome
div.box
.active
a.box
mini-info
progress