A Pen by Wayne Lippold on CodePen.
Last active
January 4, 2017 12:57
-
-
Save wlippold/8635c0aac0804d3aa545df0e99f07c49 to your computer and use it in GitHub Desktop.
CSS Drop Shadow
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> | |
<head> | |
<title>How to create a drop shadow in Cascading Style Sheets?</title> | |
<link rel="stylesheet" href="/css/style.css"> | |
<!-- Go to http://www.google.com/fonts (change font)--> | |
<style> | |
@import url('https://fonts.googleapis.com/css?family=Henny+Penny|Lora'); | |
</style> | |
</head> | |
<body style="font-family:Henny Penny, cursive; background-color:black;"> | |
<div style="text-align:center"> | |
<h1 style="font-size:150px; color:black;">Wayne Lippold</h1> | |
</div> | |
</body> | |
</html> |
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 { | |
-webkit-transition: all 0, 2s ease; | |
-moz-transition: all 0, 2s ease; | |
-o-transition: all 0, 2s ease; | |
-ms-transition: all 0, 2s ease; | |
transition: all 0, 2s ease; | |
-webkit-filter: drop-shadow(3px 3px 10px white); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment