A Pen by Mayur Elbhar on CodePen.
Created
November 28, 2014 02:22
-
-
Save charlenopires/f9697241494c8629b90b to your computer and use it in GitHub Desktop.
Typography Experiment 2 - Blurry Text
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
<h1> | |
<span>When Life Gets Blurry</span><br>adjust your focus | |
</h1> |
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
@import url(http://fonts.googleapis.com/css?family=Oswald:700); | |
html { | |
background: url(https://unsplash.imgix.net/46/3YNGIU4yRTO4DDifrEfA__MG_2885.jpg?q=75&fm=jpg&s=b7beed3209d5d7fc2bf73c47a4da2e52) no-repeat center center fixed; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
font-family: 'Oswald', sans-serif; | |
} | |
h1 { | |
color: #fff; | |
text-align: center; | |
font-size: 120px; | |
text-transform: uppercase; | |
} | |
span { | |
font-size: 130px; | |
color: transparent; | |
text-shadow: 0 0 10px #fff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment