Skip to content

Instantly share code, notes, and snippets.

@marcneuwirth
Created October 5, 2011 02:51
Show Gist options
  • Save marcneuwirth/1263509 to your computer and use it in GitHub Desktop.
Save marcneuwirth/1263509 to your computer and use it in GitHub Desktop.
CoderDeck JS Example
<script>
$(function() {
$(".box").animate({
'top':"50%",
'left':"50%" });
});
</script>
<style>
.box {
top:0px; left:0px;
width:50px; height:50px;
position:absolute;
background-color:red;
}
</style>
<div class='box'></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment