<!DOCTYPE HTML>
<html>
<title>Animation on element which is partially out of the view</title>
<style>
div {
position: absolute;
width: 200px;
height: 200px;
background-color: blue;
top: -100px;
}
</style>
<div></div>