blob: 98c3a1a10a5fe5c3ec5903c97aeabc488e9b6d13 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
div {
position: absolute;
transform-origin: 0% 0%;
}
.closed {
motion-path: path('M 0 0 L 500 0 Z');
}
.open {
motion-path: path('M 0 0 L 1000 0');
}
#div1 {
motion-offset: -3700px;
transform: translate3d(0px, 10px, 1px);
}
#div2 {
motion-offset: 200px;
transform: translate3d(0px, 20px, 2px);
}
#div3 {
motion-offset: 4100px;
transform: translate3d(0px, 30px, 3px);
}
#div4 {
motion-offset: -370%;
transform: translate3d(0px, 40px, 4px);
}
#div5 {
motion-offset: 20%;
transform: translate3d(0px, 50px, 5px);
}
#div6 {
motion-offset: 410%;
transform: translate3d(0px, 60px, 6px);
}
#div7 {
motion-offset: -3700px;
transform: translate3d(0px, 70px, 7px);
}
#div8 {
motion-offset: 200px;
transform: translate3d(0px, 80px, 8px);
}
#div9 {
motion-offset: 4100px;
transform: translate3d(0px, 90px, 9px);
}
#div10 {
motion-offset: -370%;
transform: translate3d(0px, 100px, 10px);
}
#div11 {
motion-offset: 20%;
transform: translate3d(0px, 110px, 11px);
}
#div12 {
motion-offset: 410%;
transform: translate3d(0px, 120px, 12px);
}
</style>
</head>
<body>
<div class="closed" id="div1">div1</div>
<div class="closed" id="div2">div2</div>
<div class="closed" id="div3">div3</div>
<div class="closed" id="div4">div4</div>
<div class="closed" id="div5">div5</div>
<div class="closed" id="div6">div6</div>
<div class="open" id="div7">div7</div>
<div class="open" id="div8">div8</div>
<div class="open" id="div9">div9</div>
<div class="open" id="div10">div10</div>
<div class="open" id="div11">div11</div>
<div class="open" id="div12">div12</div>
</body>
</html>