تکست کارتونی نمونه 1

w i k i t e a c h

کد html

  <h1>
    <span>w</span>
    <span>i</span>
    <span>k</span>
    <span>i</span>
    <span>t</span>
    <span>e</span>
    <span>a</span>
    <span>c</span>
    <span>h</span>
  </h1>

کد css

::selection {
  background: transparent;
}

h1 {
  cursor: default;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  margin: auto;
  display: block;
  text-align: center;
  direction: ltr ;
}
h1 span {
  position: relative;
  display: inline-block;
  -webkit-animation: bouncess 0.3s ease infinite alternate;
  font-size: 80px;
  color: #fff;
  top:20px;
  text-shadow: 0 1px 0 #ccc, 0 2px 0 #ccc, 0 3px 0 #ccc, 0 4px 0 #ccc,
    0 5px 0 #ccc, 0 6px 0 transparent, 0 7px 0 transparent, 0 8px 0 transparent,
    0 9px 0 transparent, 0 10px 10px rgba(0, 0, 0, 0.4);
}
h1 span:nth-child(2)  { -webkit-animation-delay: 0.1s;  }
h1 span:nth-child(3)  { -webkit-animation-delay: 0.2s;  }
h1 span:nth-child(4)  { -webkit-animation-delay: 0.3s;  }
h1 span:nth-child(5)  { -webkit-animation-delay: 0.4s;  }
h1 span:nth-child(6)  { -webkit-animation-delay: 0.5s;  }
h1 span:nth-child(7)  { -webkit-animation-delay: 0.6s;  }
h1 span:nth-child(8)  { -webkit-animation-delay: 0.2s;  }
h1 span:nth-child(9)  { -webkit-animation-delay: 0.3s;  }
h1 span:nth-child(10) { -webkit-animation-delay: 0.4s;  }
h1 span:nth-child(11) { -webkit-animation-delay: 0.5s;  }
h1 span:nth-child(12) { -webkit-animation-delay: 0.6s;  }
h1 span:nth-child(13) { -webkit-animation-delay: 0.7s;  }
h1 span:nth-child(14) { -webkit-animation-delay: 0.8s;  }
@-webkit-keyframes bouncess {

  100% {
    top: -20px;
    text-shadow: 0 1px 0 #ccc, 0 2px 0 #ccc, 0 3px 0 #ccc, 0 4px 0 #ccc,
      0 5px 0 #ccc, 0 6px 0 #ccc, 0 7px 0 #ccc, 0 8px 0 #ccc, 0 9px 0 #ccc,
      0 50px 25px rgba(0, 0, 0, 0.2);
  }
}