Skip to content

Instantly share code, notes, and snippets.

@wlippold
Last active January 4, 2017 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wlippold/8635c0aac0804d3aa545df0e99f07c49 to your computer and use it in GitHub Desktop.
Save wlippold/8635c0aac0804d3aa545df0e99f07c49 to your computer and use it in GitHub Desktop.
CSS Drop Shadow
<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>
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