Create a gist now

Instantly share code, notes, and snippets.

Example of using box-shadow CSS property
<html>
<head>
<style type="text/css">
.box {
width: 100px;
height: 100px;
background: red;
float:left;
margin: 50px;
}
</style>
</head>
<body>
<div class='box' style='box-shadow: 0px 0px 50px blue;'></div>
<div class='box' style='box-shadow: 30px 0px 50px blue;'></div>
<div class='box' style='box-shadow: 20px 20px 20px blue;'></div>
<div class='box' style='box-shadow: 0px 0px 50px blue inset;'></div>
<div class='box' style='box-shadow: 30px 0px 50px blue inset;'></div>
<div class='box' style='box-shadow: 20px 20px 20px blue inset;'></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment