Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 309 Bytes
<!DOCTYPE HTML>
<html>
<head>
<script src="jquery.js"></script>
</head>
<body>
<div id="x" style="width:50px;height:50px;background:red"></div>
<script>
function aumenta(){
$('#x').css({width:'+=1px'})
}
setInterval( aumenta, 20 )
</script>
</body>
</html>