Webflow Visual Effects

Text Highlight Effects

Overview
Text Effects
Text Underline Effects
102
Custom Cursors
102
Interactive Eye-Candy
102
Scrolling Marquee
102
Micro Interactions
102
Scroll Effects
102
Button Effects
102
Text Highlight Effects
103
No items found.
Published
July 7, 2023
Updated
in lightbox

When you want something to stand out, giving a word an animated underline or highlight effect is a great way to draw attention to it.

Animated Highlight Effects

CSS-based Animation

Give your element a custom class, here we'll use .anim-bg.

Change the speed of the animation by modifying the 0.6s on the animation line.

If you want to control the acceleration and deceleration of the animation, you can adjust the timing function using the animation-timing-function property or by adding it to the shorthand animation property.

The default value is ease, which starts slow, becomes faster in the middle of the animation, and slows down at the end. Some other common values include:

  • linear: The animation has a constant speed from start to end.
  • ease-in: The animation starts slowly and accelerates.
  • ease-out: The animation starts fast and decelerates.
  • ease-in-out: The animation starts slowly, accelerates in the middle, and decelerates at the end.

Codepen demo;

See the Pen animate pseudo with JS by Michael Wells (@memetican) on CodePen.

FAQs

Answers to frequently asked questions.

Videos
No items found.
Table of Contents
Comments
Did we just make your life better?
Passion drives our long hours and late nights supporting the Webflow community. Click the button to show your love.