mirror of
https://github.com/tweenjs/tween.js.git
synced 2025-12-08 20:16:12 +00:00
* TWEEN.remove() changed to look similar to TWEEN.update() code; * Moved TWEEN.add() from TWEEN.Tween constructor to TWEEN.Tween.start(). This should speed up things (no need to loop along tweens that haven't started yet). * Removed TWEEN.Tween._complete (Is not needed); * Simplified TWEEN.Tween.update(); * Fixed README example code (and some wording). * Moved examples/style.css to examples/css/style.css (clean up) * Included Stats.js in examples/js to remove internet dependency.
41 lines
503 B
CSS
41 lines
503 B
CSS
body {
|
|
background: #fff;
|
|
font-family: Helvetica, Arial, sans;
|
|
}
|
|
|
|
a {
|
|
color: #333;
|
|
}
|
|
|
|
h2 {
|
|
font-weight: normal;
|
|
}
|
|
|
|
#info {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
padding: 1.5em 2em;
|
|
}
|
|
|
|
#info h1 {
|
|
font-size: 3em;
|
|
color: #333;
|
|
margin-top: 0;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
#info h2 {
|
|
font-size: 2.5em;
|
|
text-transform: uppercase;
|
|
color: #666;
|
|
margin-top: 0;
|
|
}
|
|
|
|
#info p {
|
|
font-size: 2em;
|
|
line-height: 1em;
|
|
color: #aaa;
|
|
max-width: 10em;
|
|
}
|