Text Effects

Efficient text, underline, and caption animations - gradients, rotating phrases, and a typewriter effect.

Text Effects

Efficient text and underline animations that don't trigger a page layout recalculation (Reflow).

Animated Gradient (.text-gradient-animated)

Smoothly shifting colors

Knockout Text (Text as a transparent mask)

Architecture

Text Color Wipe (Flow Through)

Hover over me

Animated Underline

Left to right

Animated Underline Center

From center outward

Highlight Draw

Build this with molique

<!-- Animated Gradient -->
<span class="text-gradient-animated">Text</span>

<!-- Knockout Text (Text cutting through the background) -->
<div class="bg-knockout-wrapper" style="background-image: url('photo.jpg');">
  <div class="text-knockout-dark">
    <h1>Transparent text</h1>
  </div>
</div>

Word Rotator

A dynamic text effect, ideal for Hero headlines.

We build amazing
websites apps brands solutions

<h2>
  We build amazing
  <div class="word-rotator text-primary">
    <div class="word-rotator-items">
      <span>websites</span>
      <span>apps</span>
      <span>brands</span>
    </div>
  </div>
</h2>

Typewriter

Types text letter by letter as soon as the element enters the screen.

Appears while scrolling:


<!-- Typewriter effect -->
<h2 class="typewriter" data-text="Your text" data-speed="40"></h2>