You can optionally add a modifier class in the form u-bolt-bg-gradient--focus-[vertical]-[horizontal]
to change the gradient focal point.
{% include '@bolt-components-teaser/teaser.twig' with {
attributes: {
class: [
'u-bolt-bg-gradient',
'u-bolt-bg-gradient--focus-top-left',
'u-bolt-padding-large',
't-bolt-navy',
],
},
variant: 'card',
headline: {
text: 'Top Left Gradient Focal Point',
},
} only %}
<div class="u-bolt-bg-gradient u-bolt-bg-gradient--focus-top-left t-bolt-navy u-bolt-padding-large">
<h2>Top Left Gradient Focal Point</h2>
</div>