dimanche 4 mars 2018

How can I put a gradient color on a button text?

So, i have this bootstrap button:

<button type="button" class="btn btn-outline-primary btn-lg">Some text</button>

and I want to make the button text ("Some text") to have this gradient:

linear-gradient(to bottom right, #67b26f, #4ca2cd);

I tried to set the color property to add gradient using CSS, but not working.

Is there a way using CSS to give that text a gradient color?

Thank you and have a good day!




Aucun commentaire:

Enregistrer un commentaire