Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- background: linear-gradient(black, transparent);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- // Pro plus: paste this into styling
- // Pro standard:
- <style>
- #fade {
- background: linear-gradient(black, transparent);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- }
- </style>
- <div id="fade">haiii</div>
- // You can also change the gradient look/style(??) by changing the gradient order:
- background: linear-gradient(transparent, black, transparent);
- background: linear-gradient(transparent, black);
- // And use colours! ^___^
Add Comment
Please, Sign In to add comment