Skip to content

Instantly share code, notes, and snippets.

@thedaviddias
Created October 3, 2012 10:31
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 thedaviddias/3826280 to your computer and use it in GitHub Desktop.
Save thedaviddias/3826280 to your computer and use it in GitHub Desktop.
CSS3: stitch effect (tiret)
.stitched {
height:100px;
width:500px;
padding: 5px 10px 5px 10px;
margin: 15px;
background: #e2e2e2;
border: 2px dashed rgba(255,255,255,0.4);
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
-moz-box-shadow: 0 0 0 4px #e2e2e2, 2px 1px 4px 4px rgba(10,10,0,.5);
-webkit-box-shadow: 0 0 0 4px #e2e2e2, 2px 1px 4px 4px rgba(10,10,0,.5);
box-shadow: 0 0 0 4px #e2e2e2, 2px 1px 6px 4px rgba(10,10,0,.5);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment