Utilities » Mixins ##### Style a darkened overlay on the bottom half of a callout with a green background.Link
Since: 1.0.0 New Issue .callout-overlay {
@include rgba-color( background-color, rgba( $color-grayscale-0, 0.5 ), $green );
}
Parameters:
-
@param {string} | $attribute
The CSS attribute to apply your color to. -
@param {string} | $color
The rgba color to use for modern browsers. -
@param {string} | $background
The background color of the item this will sit on top of, to help calculate an accurate fallback color. Use a solid version of the same color as$color
for photos.
_mixins.scss, line 1379
View Source