amitmerchant1990 / amitmerchant-dot-com-comments

1 stars 0 forks source link

gradient-text-underlines-using-css/ #79

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Gradient-y text underlines using CSS — Amit Merchant — A blog on PHP, JavaScript, and more

The usual way of applying an underline to the text is by using the text-decoration property which sets an underline (of the same color as the text) under the selected text.

https://www.amitmerchant.com/gradient-text-underlines-using-css/

Smoke3785 commented 1 year ago

Unfortunately, this can't accommodate line breaks within the text. Otherwise, it would be a perfect solution.