Skip to content

Instantly share code, notes, and snippets.

@pbuzdin
Created April 25, 2018 13:25
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 pbuzdin/a0fc2fdf95fc61d6d3490989c3a32a9c to your computer and use it in GitHub Desktop.
Save pbuzdin/a0fc2fdf95fc61d6d3490989c3a32a9c to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/luzukih
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.shadow {
filter: drop-shadow( 0px 0px 22px #000 );
}
.shadow {
filter: drop-shadow( 0px 0px 6px rgba(255,255,255,1));
}
</style>
</head>
<body bgcolor="darkred">
<svg class="shadow" height="500" width="500">
<g>
<path d="M0,0 C-72,132 -72,-26 100,100"></path>
</g>
<g>
<circle cx="100" cy="100" r="20"></circle>
</g>
</svg>
<script id="jsbin-source-css" type="text/css">.shadow {
filter: drop-shadow( 0px 0px 22px #000 );
}
.shadow {
filter: drop-shadow( 0px 0px 6px rgba(255,255,255,1));
}</script>
</body>
</html>
.shadow {
filter: drop-shadow( 0px 0px 22px #000 );
}
.shadow {
filter: drop-shadow( 0px 0px 6px rgba(255,255,255,1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment