A Pen by caohong

Thumbnail
This awesome code was written by jackcao286, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright jackcao286 ©

Technologies

  • HTML
  • CSS
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  caohong</title>
  
  
  <link rel='stylesheet prefetch' href='https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css'>

      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div class="square"></div>
  <script src='https://cdn.bootcss.com/jquery/1.12.4/jquery.js'></script>

  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/jackcao286/a-pen-by-caohong-wemVVg */
.square {
  width: 100px;
  height: 100px;
  backgound-color: blue;
}

/*Downloaded from https://www.codeseek.co/jackcao286/a-pen-by-caohong-wemVVg */
$(".square").animate({
  width:"500px"
},500,"swing");

Comments