Basic CSS Effect for a button or div, or whatever really.
Last active
August 29, 2015 13:56
-
-
Save jonbjornn/9335842 to your computer and use it in GitHub Desktop.
Stitched CSS Effect
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
<html> | |
<link rel="stylesheet" type="text/css" href="main.css"> | |
<div class="stitched"> | |
Stitched | |
</div> | |
</html> |
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
.stitched { | |
padding: 20px; | |
margin: 10px; | |
background: #ff0030; | |
color: #fff; | |
font-size: 21px; | |
font-weight: bold; | |
line-height: 1.3em; | |
border: 2px dashed #fff; | |
border-radius: 10px; | |
box-shadow: 0 0 0 4px #ff0030, 2px 1px 6px 4px rgba(10, 10, 0, 0.5); | |
text-shadow: -1px -1px #aa3030; | |
font-weight: normal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment