EXTERNAL - Documentation

Gradients

A set of Standard Life branded colour gradients

Usage


To construct a custom linear-gradient property using two colours within a sass/css class, a linear-gradient() function is available to use.

This function follows the modern linear-gradient() CSS function syntax (see https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient).

The function returns a collection of CSS linear-gradient properties, as well as a stack of fallback properties for old browsers, based on the colours provided.