Use AnimateGL with AI

AI assistants such as ChatGPT, Claude, Gemini and Cursor can add AnimateGL animations for you. Every animation is a set of CSS classes, so an assistant that knows the classes can animate a block, an Elementor or Bricks element, or any HTML.

Give your assistant the reference

The whole reference is at animategl.com/llms.txt, as plain text made for AI tools. It’s made from the plugin’s own controls, so it always lists what AnimateGL and AnimateGL Pro have. Paste the link into your chat, or the text itself if your assistant can’t open links, and then ask for what you want.

Example prompts

  • “Using animategl.com/llms.txt, suggest entrance animations for my home page: a hero heading, three feature cards and a testimonial. Free classes only.”
  • “Add AnimateGL classes to this HTML so the cards slide up one after another, 150 ms apart.”
  • “Which AnimateGL Pro hover effect suits product photos? Give me the classes for the Bricks CSS Classes field.”

Put the classes in

  • Block editor: paste them in the block’s Advanced > Additional CSS class(es), or pick the same animation in its AnimateGL panel.
  • Elementor, Bricks and Divi 5: the element’s CSS Classes field, or the AnimateGL controls.
  • Anywhere else: the element’s class attribute.

Pro classes do nothing without AnimateGL Pro: the element just shows as it is. Visitors who prefer reduced motion see the page without animations.

Entrance animations

AnimationClassesDirectionsKindEdition
Defaultagl––Free
Fadeagl agl-fadeCSSnone, Left, Right, Up, DownCSSFree
Zoom Inagl agl-zoomInCSSnone, Left, Right, Up, DownCSSFree
Zoom Outagl agl-zoomOutCSSnone, Left, Right, Up, DownCSSFree
Wipeagl agl-wipeCSSnone, Left, Right, Up, DownCSSFree
Slideagl agl-slideCSSnone, Left, Right, Up, DownCSSFree
Bluragl agl-blurCSSnone, Left, Right, Up, DownCSSFree
Focusagl agl-focusCSSnone, Left, Right, Up, DownCSSFree
Flipagl agl-flipCSSnone, Left, Right, Up, DownCSSFree
Foldagl agl-foldCSSnone, Left, Right, Up, DownCSSFree
Rotateagl agl-rotateCSSnone, Left, Right, Up, DownCSSFree
Rollagl agl-rollCSSnone, Left, Right, Up, DownCSSFree
Skewagl agl-skewCSSnone, Left, Right, Up, DownCSSFree
Popagl agl-popCSSnone, Left, Right, Up, DownCSSFree
Fadeagl agl-fadenone, Left, Right, Up, Down, Light, Dark, TopLeft, TopRight, BottomLeft, BottomRight, Circle, CircleTopLeft, CircleTopRight, CircleBottomLeft, CircleBottomRight, MaskWebGLFree
Flipagl agl-flipnone, Left, Right, Up, DownWebGLFree
Slideagl agl-slidenone, Left, Right, Up, DownWebGLFree
Stretchagl agl-stretchnone, Left, Right, Up, DownWebGLFree
Bendagl agl-bendnone, Left, Right, Up, DownWebGLFree
Peelagl agl-peelnone, Left, Right, Up, DownWebGLFree
Zoom Inagl agl-zoomInnone, Left, Right, Up, DownWebGLFree
Zoom Outagl agl-zoomOutnone, Left, Right, Up, DownWebGLFree
Glitchagl agl-glitch–WebGLFree
Assembleagl agl-assemblenone, Left, Right, Up, Down, In, OutWebGLPro
Tile flipagl agl-tileFlipnone, Left, Right, Up, Down, In, OutWebGLPro
Materializeagl agl-materializenone, Left, Right, Up, Down, In, OutWebGLPro
Vortexagl agl-vortexnone, Left, Right, Up, Down, In, OutWebGLPro
Murmurationagl agl-murmurationnone, Left, Right, Up, Down, In, OutWebGLPro
Squareagl agl-squareCSSCenterCenter, Left, Right, Up, Down, TopLeft, TopRight, BottomLeft, BottomRightCSSPro
Circleagl agl-circleCSSCenterCenter, Left, Right, Up, Down, TopLeft, TopRight, BottomLeft, BottomRightCSSPro
Lineagl agl-lineCSSHorizontalHorizontal, VerticalCSSPro

Directions

Added to the end of the animation's class: agl-fadeCSS and Left make agl-fadeCSSLeft. Each animation has only the directions in its row above. A direction is the way the element moves: Up rises from below.

  • Left: Left (Free)
  • Right: Right (Free)
  • Up: Up (Free)
  • Down: Down (Free)
  • In: In (Assemble, Tile flip, Materialize, Vortex, Murmuration) (Pro)
  • Out: Out (Assemble, Tile flip, Materialize, Vortex, Murmuration) (Pro)
  • Light: Light (Fade WebGL) (Pro)
  • Dark: Dark (Fade WebGL) (Pro)
  • Circle: Circle (Fade WebGL) (Pro)
  • CircleTopLeft: Circle from top left (Fade WebGL) (Pro)
  • CircleTopRight: Circle from top right (Fade WebGL) (Pro)
  • CircleBottomLeft: Circle from bottom left (Fade WebGL) (Pro)
  • CircleBottomRight: Circle from bottom right (Fade WebGL) (Pro)
  • Mask: Mask (Fade WebGL) (Pro)
  • TopLeft: Top left (Fade WebGL, Square, Circle) (Pro)
  • TopRight: Top right (Fade WebGL, Square, Circle) (Pro)
  • BottomLeft: Bottom left (Fade WebGL, Square, Circle) (Pro)
  • BottomRight: Bottom right (Fade WebGL, Square, Circle) (Pro)
  • Center: Center (Square, Circle) (Pro)
  • Horizontal: Horizontal (Line) (Pro)
  • Vertical: Vertical (Line) (Pro)

Settings and effects

Duration

  • <n> from 0 to 3000 ms in steps of 100, default 1000 ms: agl-in-duration-<n>; needs an entrance

Delay

  • <n> from 0 to 5000 ms in steps of 100, default 0 ms: agl-in-delay-<n>; needs an entrance

Distance

  • <n> from 0 to 5 in steps of 0.01, default 1: agl-in-distance-<n>; needs an entrance

Repeat

  • On: agl-in-repeat; needs an entrance

Lock to scrollbar

  • On: agl-in-lockToScrollbar; needs an entrance

Easing

A spring easing sets its own duration.

  • Linear: agl-in-easing-linear; needs an entrance
  • easeOutSine: agl-in-easing-easeOutSine; needs an entrance
  • easeInSine: agl-in-easing-easeInSine; needs an entrance
  • easeInOutSine: agl-in-easing-easeInOutSine; needs an entrance
  • easeOutQuad: agl-in-easing-easeOutQuad; needs an entrance
  • easeInQuad: agl-in-easing-easeInQuad; needs an entrance
  • easeInOutQuad: agl-in-easing-easeInOutQuad; needs an entrance
  • easeOutCubic: agl-in-easing-easeOutCubic; needs an entrance
  • easeInCubic: agl-in-easing-easeInCubic; needs an entrance
  • easeInOutCubic: agl-in-easing-easeInOutCubic; needs an entrance
  • easeOutExpo: agl-in-easing-easeOutExpo; needs an entrance
  • easeInExpo: agl-in-easing-easeInExpo; needs an entrance
  • easeInOutExpo: agl-in-easing-easeInOutExpo; needs an entrance
  • easeOutBack: agl-in-easing-easeOutBack; needs an entrance
  • easeInOutBack: agl-in-easing-easeInOutBack; needs an entrance
  • easeInBack: agl-in-easing-easeInBack; needs an entrance
  • easeOutElastic: agl-in-easing-easeOutElastic; needs an entrance
  • easeOutBounce: agl-in-easing-easeOutBounce; needs an entrance
  • Spring, soft: agl-in-easing-spring-soft; needs an entrance
  • Spring, bouncy: agl-in-easing-spring-bouncy; needs an entrance
  • Spring, stiff: agl-in-easing-spring-stiff; needs an entrance
  • Steps, 5: agl-in-easing-steps-5; needs an entrance
  • Steps, 10: agl-in-easing-steps-10; needs an entrance

Mask (Pro)

Fade WebGL, Mask: the element appears where the mask is dark first and where it is light last.

  • Ink: data-agl-fade-mask="ink"
  • Brush: data-agl-fade-mask="brush"
  • Noise: data-agl-fade-mask="noise"
  • Image: data-agl-fade-mask="<image URL>"

Mask image (Pro)

Black and white works best. It covers the element, as a background image would. An image from another domain needs CORS headers, or the element fades by its own brightness.

  • Image: data-agl-fade-mask="<image URL>"

Start (Pro)

  • On page load: agl-trigger-load; needs an entrance
  • On click: agl-trigger-click; needs an entrance
  • On hover: agl-trigger-hover; needs an entrance
  • When a class is added: agl-trigger-class-<text>; needs an entrance
  • After another element finishes: agl-after-<text>; needs an entrance

Element ID or class name (Pro)

On click or hover: empty plays again on clicks or hovers on this element, an element ID waits for that element. When a class is added: the class name. After another element finishes: the CSS ID (Advanced tab) of the animated element to wait for; without one on the page, this element plays on scrolling into view.

  • Text: agl-trigger-click-<text>

Stagger inner elements (ms) (Pro)

Animates the inner elements one after another, this many ms apart, instead of the whole element. 0: off.

  • <n> from 0 to 1000 in steps of 50, default 0: agl-stagger-<n>; needs an entrance

Split text (CSS animations) (Pro)

  • Words: agl-split-words; needs an entrance
  • Letters: agl-split-letters; needs an entrance
  • Lines: agl-split-lines; needs an entrance

Reveal from behind an edge (Pro)

Each part is hidden outside its own place, so it rises, slides or turns in from behind an edge, as in video titles. Slide and Fade from below work best.

  • On: agl-split-mask; needs an entrance

Animate on mobile (Pro)

  • Off: agl-off-mobile; needs an entrance

Animate on tablet (Pro)

  • Off: agl-off-tablet; needs an entrance

Animate on desktop (Pro)

  • Off: agl-off-desktop; needs an entrance

Play (Pro)

Once per visitor is remembered in the browser (localStorage), which in the EU may need consent.

  • Once per browser session: agl-once-session-<id>; needs an entrance
  • Once per visitor: agl-once-visitor-<id>; needs an entrance

While scrolling

After the entrance. Skew leans with the scroll speed. Parallax, zoom, fade, rotate, blur and 3D tilt follow where the element is on the screen. These work on any element. Bend, wave, RGB shift, glitch and scatter are for images with a WebGL animation: scatter breaks the image into tiles as it leaves the top of the screen. Off for visitors who prefer reduced motion.

  • Skew: agl-scroll-skew
  • Parallax: agl-scroll-parallax (Pro)
  • Parallax sideways: agl-scroll-slide (Pro)
  • Zoom: agl-scroll-zoom (Pro)
  • Fade: agl-scroll-fade (Pro)
  • Rotate: agl-scroll-rotate (Pro)
  • Blur: agl-scroll-blur (Pro)
  • 3D tilt: agl-scroll-tilt (Pro)
  • Bend (WebGL): agl-scroll-bend; needs an entrance (Pro)
  • Wave (WebGL): agl-scroll-wave; needs an entrance (Pro)
  • RGB shift (WebGL): agl-scroll-rgb; needs an entrance (Pro)
  • Glitch (WebGL): agl-scroll-glitch; needs an entrance (Pro)
  • Scatter (WebGL): agl-scroll-scatter; without an entrance: agl-tile-50 (Pro)

Strength (%) (Pro)

  • <n> from 25 to 200 % in steps of 25, default 100 %: agl-scroll-strength-<n>

Hover effect

While the mouse is over the element, after the entrance. The effects without "(WebGL)" work on any element: colour under the mouse, spotlight, sharp under the mouse and before and after keep it grey, dark or blurred until the mouse shows it. The WebGL effects are for images, without an animation or with a WebGL one. Mouse only: to preview it on a phone, turn on "Follow a finger on touch screens" in the Settings tab of the AnimateGL page. Off for visitors who prefer reduced motion.

  • Tilt: agl-hover-tilt
  • Grow: agl-hover-grow
  • Lift: agl-hover-lift
  • Colour under the mouse: agl-hover-css-reveal (Pro)
  • Spotlight: agl-hover-css-spotlight (Pro)
  • Sharp under the mouse: agl-hover-css-focus (Pro)
  • Before and after: agl-hover-css-split (Pro)
  • Zoom in (WebGL): agl-hover-zoom; without an entrance: agl agl-in-none agl-hover-zoom (Pro)
  • Bulge (WebGL): agl-hover-bulge; without an entrance: agl agl-in-none agl-hover-bulge (Pro)
  • RGB shift (WebGL): agl-hover-rgb; without an entrance: agl agl-in-none agl-hover-rgb (Pro)
  • Light (WebGL): agl-hover-light; without an entrance: agl agl-in-none agl-hover-light (Pro)
  • Liquid (WebGL): agl-hover-liquid; without an entrance: agl agl-in-none agl-hover-liquid (Pro)
  • Ripple (WebGL): agl-hover-ripple; without an entrance: agl agl-in-none agl-hover-ripple (Pro)
  • Drag (WebGL): agl-hover-drag; without an entrance: agl agl-in-none agl-hover-drag (Pro)
  • Pixel smear (WebGL): agl-hover-pixels; without an entrance: agl agl-in-none agl-hover-pixels (Pro)
  • Glitch (WebGL): agl-hover-glitch; without an entrance: agl agl-in-none agl-hover-glitch (Pro)
  • Colour under the mouse (WebGL): agl-hover-reveal; without an entrance: agl agl-in-none agl-hover-reveal (Pro)
  • Spotlight (WebGL): agl-hover-spotlight; without an entrance: agl agl-in-none agl-hover-spotlight (Pro)
  • Sharp under the mouse (WebGL): agl-hover-focus; without an entrance: agl agl-in-none agl-hover-focus (Pro)
  • Mosaic reveal (WebGL): agl-hover-mosaic; without an entrance: agl agl-in-none agl-hover-mosaic (Pro)
  • Colour trail (WebGL): agl-hover-trail; without an entrance: agl agl-in-none agl-hover-trail (Pro)
  • Before and after (WebGL): agl-hover-split; without an entrance: agl agl-in-none agl-hover-split (Pro)
  • Image swap (WebGL): agl-hover-swap; without an entrance: agl agl-in-none agl-hover-swap (Pro)
  • Tiles push (WebGL): agl-hover-tilesPush; without an entrance: agl agl-in-none agl-hover-tilesPush (Pro)
  • Tiles lift (WebGL): agl-hover-tilesLift; without an entrance: agl agl-in-none agl-hover-tilesLift (Pro)
  • Tiles scatter (WebGL): agl-hover-tilesScatter; without an entrance: agl agl-in-none agl-hover-tilesScatter (Pro)

Hover image (Pro)

Image swap: replaces the image while the mouse is over it (it zooms in without one). Colour under the mouse, Spotlight, Sharp under the mouse, Mosaic reveal and Colour trail: shown around the mouse, with the image as it is elsewhere. Before and after: shown left of the mouse. The same for the effects without "(WebGL)", on any element.

  • Image: data-agl-hover-image="<image URL>"

Animated background (Pro)

A moving WebGL background behind the content, in three colours. It runs only while the element is on screen, as one still frame for visitors who prefer reduced motion, and shows as a still gradient (or the element's own background) where WebGL is off.

  • Flow: agl-bg-flow
  • Blobs: agl-bg-blobs
  • Waves: agl-bg-waves
  • Aurora: agl-bg-aurora
  • Grain: agl-bg-grain
  • Mesh: agl-bg-mesh

Background colour 1 (Pro)

Empty: the theme's primary, secondary and base colours. Waves, Blobs and Aurora use the third as the base.

  • Color: style="--agl-bg-1:<color>;"

Background colour 2 (Pro)

  • Color: style="--agl-bg-2:<color>;"

Background colour 3 (Pro)

  • Color: style="--agl-bg-3:<color>;"

Background on phones (Pro)

  • Full: agl-bg-phone-full
  • Still frame: agl-bg-phone-still
  • Off (still gradient): agl-bg-phone-hidden

Overlay colour (Pro)

Over the background, so text on it stays readable.

  • Color: style="--agl-bg-overlay:<color>;--agl-bg-overlay-strength:0.8;"

Overlay strength (%) (Pro)

  • <n> from 0 to 80 % in steps of 5, default 0 %: style="--agl-bg-overlay:<color>;--agl-bg-overlay-strength:0.8;"

Loop (Pro)

Repeats for as long as the element is on screen, after the entrance: pulse and float slowly, wobble, shake, heartbeat and swing in bursts with a pause between them. Works on any element, with the scroll and hover effects. Off for visitors who prefer reduced motion.

  • Pulse: agl-loop-pulse
  • Float: agl-loop-float
  • Wobble: agl-loop-wobble
  • Shake: agl-loop-shake
  • Heartbeat: agl-loop-heartbeat
  • Swing: agl-loop-swing

Tile size (Pro)

Smaller tiles are more of them. Very large images and phones get larger tiles, to keep it smooth.

  • <n> from 1 to 50 px in steps of 1, default 1 px: agl-tile-<n>

Count up the numbers

Each number in the element counts up from 0 when it comes into view, or with its entrance, and ends as written: 1,250 or 98.6%. Visitors who prefer reduced motion see the numbers as written.

  • On: agl-count

Type out the text

The text is typed a character at a time behind a caret when the element comes into view, or with its entrance. Not with count-up numbers on the same element. Visitors who prefer reduced motion see the text as written.

  • On: agl-typewriter