Created
February 16, 2013 16:36
-
-
Save WebPlatformDocs/4967572 to your computer and use it in GitHub Desktop.
Tooltip demo
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
/** | |
* Tooltip demo | |
*/ | |
background: #f06; | |
background: linear-gradient(left bottom, | |
hsla(340, 100%, 50%,.7), yellow); | |
background: url(http://placekitten.com/330/340); | |
content: '\2665'; | |
min-width: 100px; | |
width: 2in; | |
transition-duration: 6s; | |
transition-duration: 1000ms; | |
transition-timing-function: cubic-bezier(.2,.6,.8,.8); | |
transition-timing-function: ease-in; | |
transform: rotate(45deg); | |
transform: rotate(-.125turn); /* negative angle */ | |
font-family: Dabblet, 'Palatino Linotype', "Times New Roman", sans-serif; | |
font-family: fantasy; /* single font-family */ | |
font: bold 100%/1.5 Monaco, Consolas, monospace; |
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
<!-- content to be placed inside <body>…</body> --> |
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
// alert('Hello world!'); |
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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment