Add an overlay tint to darken image areas for better contrast for the content. This module works well in combination with _c.band.
m.overlay
Block
.overlay
Sets relative position, so the psuedo element overlay doesn’t overflow it’s container. The default weight of the overlay is 50%.
Elements
.overlay__body
- Required
Required element to position content within the overlay element above the overlay.
Modifiers
.overlay--light
- Enabled
Change the weight of the overlay to 30%.
.overlay--heavy
- Enabled
Change the weight of the overlay to 70%.