<!DOCTYPE html>
<html>
<head>
<title>jQuery animate() method</title>
<script src="jquery-latest.min.js"></script>
<script>
$(document).ready(function() {
$("button").click(function(){
$("div").animate({fontSize:"60px"}, 1000);
});
});
</script>
<style type="text/css">
div {
padding: 10px;
font-family: arial;
background: #FC5E5E;
position:relative;
}
</style>
</head>
<body>
<button>Start Animation</button>
<br /><br />
<div>This element represent animate effect.</div>
</body>
</html>