Precise per-element values

Complete Attribute Reference

Use effect-specific overrides after a preset class, or advanced attributes for bespoke Full Customizer effects.

{ }
Effect selectordata-hf
Reusable styledata-hf-set
Direction values7 + none

Effect-specific attributes

Use effect-specific names when reveal and parallax share an element, so each module receives an unambiguous value:

<section
  class="hf-stagger-children"
  data-hf-stagger-interval="140"
  data-hf-trigger="viewport"
>
  <div
    class="hf-scale-up hf-parallax"
    data-hf-reveal-duration="900"
    data-hf-reveal-delay="120"
    data-hf-reveal-distance="64px"
    data-hf-reveal-easing="cubic-bezier(0.16, 1, 0.3, 1)"
    data-hf-reveal-threshold="0.2"
    data-hf-reveal-once="false"
    data-hf-parallax-speed="0.85"
    data-hf-parallax-direction="top"
    data-hf-parallax-distance="180"
    data-hf-disable="mobile"
  >Preview content</div>
</section>
AttributeType / rangeDefault
data-hf-reveal-duration0–60000 ms700
data-hf-reveal-delay0–60000 ms0
data-hf-reveal-distance0–5000 numeric px or approved CSS length40px
data-hf-reveal-easingvalidated keyword, cubic-bezier, or stepssmooth ease-out
data-hf-reveal-threshold0–10.15
data-hf-reveal-onceexact true or falsetrue
data-hf-triggerviewport or loadviewport
data-hf-parallax-speed-2–2preset
data-hf-parallax-directionvertical, horizontal, start, end, top, bottom, left, rightvertical
data-hf-parallax-distance0–5000 px120
data-hf-stagger-interval0–10000 ms100
data-hf-disabletoken list; currently mobilenone

Full Customizer and advanced attributes

The generic attributes below create bespoke Full Customizer effects and reusable sets. Prefer effect-specific names when modules share an element.

This maximally configured Rotate example shows every control that applies to that selected effect:

<div
  data-hf="rotate"
  data-hf-set="dramatic"
  data-hf-direction="bottom"
  data-hf-duration="1200"
  data-hf-delay="180"
  data-hf-distance="72"
  data-hf-easing="cubic-bezier(0.16, 1, 0.3, 1)"
  data-hf-once="false"
  data-hf-trigger="viewport"
  data-hf-origin="bottom left"
  data-hf-rotate="-16"
>
  Fully customized editorial card
</div>
Attribute Applies To Default Accepted Values / Limits Purpose
data-hf All - fade, parallax, blur, scale, rotate Selects the effect type.
data-hf-set All none Any defined set name Loads reusable settings for the selected effect.
data-hf-direction All fade: bottom; others: none; parallax: top top/up, bottom/down, start, end, left, right, none Sets reveal origin or parallax direction.
data-hf-duration Reveal types 700 0-60000 ms Transition duration.
data-hf-delay Reveal types 0 0-60000 ms Delay before the transition begins.
data-hf-distance Reveal + parallax reveal: 40; parallax: 120 0-5000 px Reveal offset or parallax travel range.
data-hf-easing Reveal types cubic-bezier(0.22, 1, 0.36, 1) Valid CSS easing Transition timing function.
data-hf-once Reveal types true true/false, 1/0, yes/no, on/off Controls whether the reveal replays.
data-hf-trigger Reveal types + reveal groups viewport viewport, load Uses page-load timing for opening content or Intersection Observer for scroll reveals. Groups pass their trigger to eligible children.
data-hf-origin Scale / rotate center center Valid CSS transform-origin Controls pivot point.
data-hf-scale Scale 0.92 0.01-3 Starting scale before settling to 1.
data-hf-blur Blur 12 0-100 px Starting blur radius.
data-hf-rotate Rotate 6 -360 to 360 degrees Starting rotation angle.
data-hf-speed Parallax 1 -10 to 10 Multiplies parallax movement; negative reverses it.
data-hf-stagger Parent group 0 0-10000 ms Delay added between eligible reveal children.
data-hf-stagger-start Parent group 0 0-60000 ms Initial delay before the first reveal.

Direction Semantics

  • For reveal effects, direction describes where the element starts. bottom starts below and moves upward into place; top starts above and moves downward into place.

  • For parallax, direction controls the movement vector. top/up creates upward movement as scroll progress increases.

  • start and end respect the element’s LTR or RTL writing direction.

  • left and right are physical directions and do not change in RTL layouts.

  • none removes directional translation while keeping fade, blur, scale, or rotate behavior.