Skip to content

Instantly share code, notes, and snippets.

@thanhkhoa84
Created July 24, 2013 02:50
Show Gist options
  • Save thanhkhoa84/6067749 to your computer and use it in GitHub Desktop.
Save thanhkhoa84/6067749 to your computer and use it in GitHub Desktop.
Untitled
body {
background: #ccc51c;
min-height: 100%;
}
h1 {
position: absolute;
left: 50%;
margin-left: -1.9em;
color: hsla(0,0%,100%,.3);
font: 900 800% Baskerville, 'Palatino Linotype', Palatino, serif;
}
@keyframes loading {
from { max-width: 0; }
}
h1:before {
content: attr(data-content);
position: absolute;
overflow: hidden;
max-width: 4em;
color: purple;
animation: loading 10s linear infinite;
}
<h1 data-content="Koo">Koo</h1>
// 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