<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="stylesheet.css" type="text/css">
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Staatliches">
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Cabin">
</head>

<body>
  <div class="container">
    <span class="text1">Welcome</span>
    <span class="text2">to my Animation Library</span>
    <span class="text3">Vong Thao GD157 MotionGraphics</span>
  </div>
  <div class="para">
    <p> Animation plays a huge role in User Experience. It enables user(s) to interact with the content and help make the user(s) action enjoyable, easier, and fun to use. Here are a few animations that I experimented that can assist in engaging user(s) with
      the interactivity of their user experience. </p>
  </div>

  <div class="container2">

    <span class="text4"><a href="https://www.google.com">Navigation Swipes</a></span>
    <span class="text5"><a href="https://www.marvelapp.com/project/3555379/">Invalid Action</a></span>
    <span class="text6"><a href="https://www.marvelapp.com/project/3555379/">Loading</a></span>
  </div>

  <div class="container3">

    <span class="text4"><a href="https://www.google.com">Notification</a></span>
    <span class="text5"><a href="https://www.marvelapp.com/project/3555379/">Hover</a></span>
    <span class="text6"><a href="https://www.marvelapp.com/project/3555379/">Animation III</a></span>
  </div>
  <div class="swipe"></div>

  <div class="item animated bounce"></div>
  </div>
<!--   <div class="stuff animated fadeInDown"></div> -->
  </div>
  <div class="shrink"> </div>
  <div class="hvr-bounce-to-left"></div>
<div class="rotate"></div>

<div class="hvr-bounce-in"></div>

</div>
  </div>

  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js type=" text/javascript "></script>
</body>

</html>
/* .item {
  background-color: red;
  width: 100px;
  height: 100px;
  margin: 300px auto 0 auto;
  animation: rotate-move 2s ease-in-out infinite;
 
} */

* {
  padding: 0;
  margin: 0;
  font-family: "Staatliches";
  box-sizing: border-box;
}

body {
  background: linear-gradient(50deg, #b44508 0%, #7f172a 45%, #000 85%);
  height: 2000px; /* Used to enable scrolling */
  max-width: 100%;
}

.para {
  text-align: center;
  position: absolute;
  width: 40%;
  top: 600px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

p {
  font-family: Cabin;
  font-size: 15px;
  letter-spacing: 3px;
  animation: fadeInDown 2s;
}

.container {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container span {
  color: white;
  text-transform: uppercase;
  display: block;
}

.text1 {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: 46px;
  margin-bottom: 20px;
  /*   margin-left: 10px; */
  background: linear-gradient(180deg, 0%, #7f172a 51%, #000 85%);
  text-align: center;
  position: relative;
  animation: text 1s 1;
  /*   animation-delay: 2s; */
  transition-delay: 2s;
}

.text2 {
  font-size: 30px;
  font-weight: 20px;
  margin-bottom: 25px;
  margin-left: 1px;
  letter-spacing: 20px;
  animation: two 4s;
  /*   animation-delay: 2s; */
  transition-delay: 2s;
}

.text3 {
  font-size: 10px;
  font-weight: 1px;
  letter-spacing: 5px;
  text-align: center;
  animation: three 4s;
  transition-delay: 2s;
}

@keyframes text {
  0% {
    color: black;
    letter-spacing: -40px;
    margin-bottom: -40px;
  }
  /*    30%{
    letter-spacing: 25px;
    margin-bottom: -40%;
  }   */
  55% {
    letter-spacing: 10px;
    margin-bottom: -40px;
  }
}

@keyframes two {
  /*   from {opacity: 0;}
  to {opacity: 1;} 
  0%{
    visibility: hidden;
  } */
  0% {
    position: relative;
    top: -10px;
    opacity: 0;
  }

  100% {
    position: relative;
    top: 25%;
    opacity: 1;
  }
}

@keyframes three {
  0% {
    opacity: 0;
  }

  75% {
    opacity: 1;
  }
}

.test {
  color: pink;
  width: 100px;
  height: 100px;
  margin-left: 40px;
  margin-top: 300px;
}

.container2 {
  text-align: center;
  position: absolute;
  top: 1050px;
  left: 50%;
  margin: auto;
  transform: translate(-50%, -50%);
}

.container2 span {
  color: white;
  text-transform: uppercase;
/*     display: block; */
  letter-spacing: 2px;
}

.text4 {
  margin-right: 150px;
  text-decoration: none;
}
.text5 {
  margin-right: 200px;
}
.text6 {
  /*   margin-right: 50px; */
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    position: relative;
    top: 550px;
  }
  100% {
    opacity: 1;
    position: relative;
    top: 0px;
  }
}




  
.swipe{
/*   display: inline-block; */
/*   background: pink; */
  width: 100px;
  height: 100px;
  position: relative;
  border-radius: 10px;
  margin-top: 850px;
  margin-left: 350px;
  
  animation-name: myframes;
  animation-duration: .7s;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-fill-made: forwards;
  animation-play-state: running;
  
}
/* @keyframes myframes {
  0% {
   width: 0px;
   height: 200px;
   transform: scale(0) rotate(45deeg);
   opacity: 0;
}
  30%, 80% {
    width: 400px;
    height: 200px;
  }
  100% {
    height: 600px;
    background: orange;
    opacity: 1;
  }
   */

@-webkit-keyframes myframes {
  from {
    opacity: 0;
    width: 100px;
/*     margin-left: 300px; */
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 200,80) rotate(45deg);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}


.item {
  width: 100px;
  height: 100px;
  background-color: pink;
  margin: -100px 750px;
  border-radius: 10px;
  position: relative;
  
  -webkit-animation-duration: 1s;
   -webkit-animation-delay:;
   -webkit-animation-iteration-count: infinite;
  
}

.stuff {
  width: 100px;
  height: 100px;
  background-color: pink;
  margin: -170px 400px 0 auto;
  border-radius: 10px;
  position: relative;
  
  -webkit-animation-duration: 1s;
   -webkit-animation-delay:;
     -webkit-animation-direction: ;

   -webkit-animation-iteration-count: 1;
  
}

.container3 {
  text-align: center;
  position: relative;
  top: 1300px;
  left: 50%;
  margin: auto;
  transform: translate(-50%, -50%);
  letter-spacing: 2px;
}

.shrink {
/*   display: inline-block; */
  width: 30px;
  height: 5px;
  background: pink;
  -webkit-transition: width 2s; /* Safari */
  transition: .5s;
  padding: 50px ;
  margin: 245px 750px;
  border-radius: 10px;
}

.shrink:hover {
  height: 5px;
  width: 5px;
  border-radius: 70%;
  transition: all 0.3s ease;
}

.stuff:hover {
  opacity: 1;
}



.hvr-bounce-to-left {
/*   display: inline-block; */
  background-color: pink;
  width: 100px;
  height: 100px;
  margin: -590px 490px;
  border-radius: 10px;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s
}

.hvr-bounce-to-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: gray;
  border-radius: 10px;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.7s;
  transition-duration: 0.7s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-bounce-to-left:hover, .hvr-bounce-to-left:focus, .hvr-bounce-to-left:active {
  color: white;
}
.hvr-bounce-to-left:hover:before, .hvr-bounce-to-left:focus:before, .hvr-bounce-to-left:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

/* LOADING *//* LOADING *//* LOADING */
/* LOADING *//* LOADING *//* LOADING *//* LOADING *//* LOADING */
/* LOADING *//* LOADING *//* LOADING */

/* body, html {
  width: 100%;
  height: 100%;
  background-color: #f8f4d5;
} */



.rotate {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background: pink;
  animation-name: rotate;
  margin: 500px 1050px;
  
  
}

@keyframes rotate {
/*    0% {transform: scale(1.0);}
  100% {transform: scale(0);} */
  from {
    transform:rotate(0deg);
    opacity: 1;
    width: 100px;
    height: 100px;
    background: pink;
  }
  to {
    transform:rotate(360deg);
    opacity: .5;
    width: 50px;
    height: 50px;
  }
}

.hvr-bounce-in{
  width: 100px;
  height: 100px;
  background: pink;
  border-radius: 10px;
  margin: 735px 490px;
vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
.hvr-bounce-in:hover, .hvr-bounce-in:focus, .hvr-bounce-in:active {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}



@media only screen and (max-width; 500px) {
  label {
    display: block;
    curser: pointer;
  }
}

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css
  2. https://codepen.io/vmvenom/pen/ryOpNy.css

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js