CSS text animation shining effects

Beautiful text or CSS typography will make your CSS animation design look attractive.

You can download source file then you can also change some CSS hover effects with basic CSS code. Animation text fill is another Custom pure CSS based text effect with animation.

You can study on w3schools about css text animation effect. then you can also implement best css hover effects.

HTML

<p>CSS Text Animation Shining Effects</p>

CSS

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #000;
}

p {
  position: relative;
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 2em;
  letter-spacing: 4px;
  overflow: hidden;
  background: linear-gradient(90deg, #000, #fff, #000);
  background-repeat: no-repeat;
  background-size: 80%;
  animation: animate 3s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
}

@keyframes animate {
  0% {
    background-position: -500%;
  }
  100% {
    background-position: 500%;
  }
}
Leave a Reply