Skip to content

Instantly share code, notes, and snippets.

@lzhoucs
Last active December 16, 2015 02:09
Show Gist options
  • Save lzhoucs/a20e7ebd4712048a7499 to your computer and use it in GitHub Desktop.
Save lzhoucs/a20e7ebd4712048a7499 to your computer and use it in GitHub Desktop.
A simple css3 box effect for div.
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<style type="text/css">
div {
width : 400px;
box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
height: 500px;
}
</style>
<div>test</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment