January 3, 2019 03:17 pm GMT
Original Link: https://css-tricks.com/multi-line-inline-gradient/
Multi-Line Inline Gradient
Came across this thread:
CSS superfriends! Have you seen examples of how to do multi-line padded text like this article on @css (https://t.co/2j8p4jmaT4), but with a gradient that doesn't reset for each line? pic.twitter.com/MVPdAjxt1W
— Dan Mall (@danmall) December 3, 2018
My first thought process was:
- The lines are padded, and that's tricky enough to pull off.
box-decoration-break
is probably our friend here.
But it turns out we need a litttttle extra trickery to make it happen.
If … Read article
The post Multi-Line Inline Gradient appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/multi-line-inline-gradient/
Share this article:
Tweet
View Full Article