Created
August 13, 2017 21:05
-
-
Save paullacey78/6c16c140f8f544b9088d268c418044bc to your computer and use it in GitHub Desktop.
CSS Text Gradients
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.heading_gradient_blue h2 span { | |
display: inline-block; | |
color: #254E87; /*non-webkit fallback*/ | |
background: -webkit-linear-gradient(135deg, #2CA44F, #28766D, #254E87); | |
-webkit-background-clip: text; | |
-webkit-text-fill-color: transparent; | |
} | |
.heading_gradient_pink h2 span { | |
display: inline-block; | |
color: #254E87; /*non-webkit fallback*/ | |
background: -webkit-linear-gradient(135deg, #D5A06D, #D1817D, #CE5888); | |
-webkit-background-clip: text; | |
-webkit-text-fill-color: transparent; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="heading_gradient_blue"> | |
<h2><span>An wonderful example of a gradient </span></h2> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment