A Pen by Furkan Tunalı on CodePen.
Created
July 5, 2015 17:07
-
-
Save JacopKane/07a8e1804faefd61573f to your computer and use it in GitHub Desktop.
YOLO
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="content"> | |
<p>YOLO</p> | |
</div> |
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
html { | |
min-height: 100vh; | |
} | |
body { | |
background: linear-gradient(to bottom, #94fef7 0%, #aafea3 25%, #f9fbb1 50%, #fea6f7 75%, #94fef7 100%); | |
min-height: 100vh; | |
margin: 0; | |
padding: 0; | |
} | |
.content { | |
margin: 0; | |
padding: 0; | |
background: linear-gradient(to bottom, #94fef7 0%, #aafea3 25%, #f9fbb1 50%, #fea6f7 75%, #94fef7 100%) | |
height: 200vh; | |
} | |
.content p { | |
font-family: sans-serif; | |
background: linear-gradient(to top, #94fef7 0%, #aafea3 25%, #f9fbb1 50%, #fea6f7 75%, #94fef7 100%); | |
-webkit-background-clip: text; | |
-webkit-text-fill-color: transparent; | |
font-size: 50vh; | |
line-height: 100vh; | |
text-align: center; | |
margin: 0; | |
padding: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment