Paste it where a background goes
Every gradient here copies as plain CSS, with no library behind it.
On an element. Paste what you copied into any rule and it fills the box.
On text. Clip the background to the letters and make the text itself transparent.
Animated. It copies as a class with its keyframes. Add the class, or move the declarations into your own rule.
.hero {
background: linear-gradient(135deg, #ff4f8b, #ffc24a);
background: linear-gradient(135deg in oklch, #ff4f8b, #ffc24a);
}
.headline {
background: linear-gradient(135deg, #ff4f8b, #ffc24a);
background: linear-gradient(135deg in oklch, #ff4f8b, #ffc24a);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}