|
Post by Elli on Aug 16, 2019 10:19:25 GMT -7
Gradient Text Preview HTML
<h1 class="gradient-text">We're Adding a Gradient</h1>
CSS
.gradient-text { background-image: -webkit-linear-gradient(left, #5543b1, #934A98); background-image: linear-gradient(to right, #5543b1, #934A98); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { .gradient-text { background: transparent; color: #5543b1; } }
|
|