зеркало из https://github.com/mozilla/gecko-dev.git
20 строки
606 B
HTML
20 строки
606 B
HTML
<!doctype html>
|
|
<html class="reftest-wait">
|
|
<script type="text/javascript">
|
|
function done()
|
|
{
|
|
document.documentElement.className = "";
|
|
}
|
|
function move()
|
|
{
|
|
elem = document.getElementById("moving");
|
|
elem.addEventListener("transitionend", done, true);
|
|
elem.style.position = "relative";
|
|
elem.style.top = 0;
|
|
}
|
|
</script>
|
|
<body style="background: url('bwinton.jpg'); background-attachment: fixed" onload="move()">
|
|
<div id="moving" style="position: absolute; top: 50px; background-image: url('blacktrans.png'); width: 100px; height: 100px; -moz-transition: top 0.1s">blah blah blah</div>
|
|
</body>
|
|
</html>
|