Last active
August 29, 2015 14:01
-
-
Save pbojinov/73d10e5ca9e4ac2d3e8d to your computer and use it in GitHub Desktop.
double inner box 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>box shadow</title> | |
<style> | |
.item { | |
background: orange; | |
border: solid 1px blue; | |
box-shadow: inset 0 0 0 1px red, inset 0 0 0 2px green; /* nesting inset shadow*/ | |
height: 100px; | |
width: 100px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="item"> </div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment