Skip to content

Instantly share code, notes, and snippets.

@WebPlatformDocs
Created February 16, 2013 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save WebPlatformDocs/4967572 to your computer and use it in GitHub Desktop.
Save WebPlatformDocs/4967572 to your computer and use it in GitHub Desktop.
Tooltip demo
/**
* 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;
<!-- content to be placed inside <body>…</body> -->
// alert('Hello world!');
{"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