Skip to content

Search htmltool.io

Search animations, patterns and icons

.da-highlight

Highlight

Text / Classic. Runs once when the class is added. Adjust the timing, then copy it as CSS, a preprocessor mixin, an ES module, a custom element or a Tailwind class.

Text animation, 1 s, cubic-bezier(0.16, 1, 0.3, 1).

Timing
1 s
0 s
1

Details

Category
Text / Classic
Class
.da-highlight
Trigger
On load
Duration
1s
Delay
0s
Easing
cubic-bezier(0.16, 1, 0.3, 1)
Iterations
1
Infinite
No
Origin
center

Snippets

highlight.html
<link rel="stylesheet" href="https://cdn.htmltool.io/animations/1.0.0/css/animations/highlight.min.css">

<div class="da-highlight__hl da-highlight">Highlight me</div>

Press C while the code is focused to copy.