Created
February 8, 2012 11:24
-
-
Save bueltge/1768280 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
This file contains hidden or 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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
margin: 5em; | |
} | |
.tooltip { | |
font: normal 11px/17px sans-serif; | |
color: red; | |
height: 17px; | |
padding: 0 6px; | |
position: absolute; | |
background: #ffcccc; | |
border-radius: 4px; | |
-moz-border-radius: 4px; | |
-webkit-border-radius: 4px; | |
} | |
.tooltip:after { | |
top: 17px; | |
right: 8px; | |
width: 0; | |
display: block; | |
content: ""; | |
position: absolute; | |
border-width: 4px 4px 0; | |
border-style: solid; | |
border-color: #ffcccc transparent; | |
} |
This file contains hidden or 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
<!-- content to be placed inside <body>…</body> --> | |
<p class="tooltip"> | |
Bitte das Limit beachten | |
</p> |
This file contains hidden or 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
{"view":"split-vertical","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment