Created
August 31, 2012 13:53
-
-
Save zmmbreeze/3552935 to your computer and use it in GitHub Desktop.
example style in twitter bootstrap
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
.example{ | |
position: relative; | |
margin: 15px 0 15px 20px; | |
padding: 39px 19px 14px; | |
background-color: white; | |
border: 1px solid #DDD; | |
-webkit-border-radius: 4px; | |
-moz-border-radius: 4px; | |
border-radius: 4px; | |
} | |
.example::after { | |
content: "Example"; | |
position: absolute; | |
top: -1px; | |
left: -1px; | |
padding: 3px 7px; | |
font-size: 12px; | |
font-weight: bold; | |
background-color: whiteSmoke; | |
border: 1px solid #DDD; | |
color: #9DA0A4; | |
-webkit-border-radius: 4px 0 4px 0; | |
-moz-border-radius: 4px 0 4px 0; | |
border-radius: 4px 0 4px 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment