Why aren't you trying to add a class with margin-top to bring the div down as much as needed. Like this:
.top{
margin-top:100px;
}
Add this to you div with ".content". In this way:
<div class="content top">
Then just switch it to 2 clicks, for example:
$( ".content" ).toggleClass( "top" );
You can specify additional styles, but this is the main run.
source
share