Skip to content

Instantly share code, notes, and snippets.

@afutseng
Forked from anonymous/Text-gradients.markdown
Created October 18, 2013 18:46
Show Gist options
  • Save afutseng/7046168 to your computer and use it in GitHub Desktop.
Save afutseng/7046168 to your computer and use it in GitHub Desktop.
<div class="wrap">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Beatae hic atque alias officia aliquid quidem labore nisi incidunt! Dignissimos minus aut possimus quaerat magni nemo voluptas qui asperiores reprehenderit officiis.</p>
</div>
@import "compass";
.wrap {
margin: 200px auto;
width: 400px;
border: 1px dashed #ccc;
p {
padding: 40px;
font-family: 'Helvetica Neue';
font-size: 24px;
line-height: 30px;
background: -webkit-linear-gradient(top,#fd0b58 0,#a32b68 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment