Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Add CSS and WebGL animations easily to any element on the website with AnimateGL plugin.
Add CSS and WebGL animations in Elementor, Block editor or any other builder. Customize direction, duration, delay and easing for each animation. Choose simple CSS animations like fade, slide, zoom and wipe or creative WebGL animations like bend, flip, stretch or directional fade. Create custom entrance animation with visual editor. AnimateGL is lightweight, fast, and easy to use, making it the perfect choice for web designers looking to enhance their website’s visual appeal.
CSS entrance animations are GPU accelerated and animate CSS properties opacity, transform and clip path in different combinations. CSS animations can be added to any element or block. Available CSS animations are Fade, Zoom In, Zoom Out, Wipe and Slide with settings for direction, distance, duration, delay and easing. With combination of fade, zoom, direction, easing and delay you can create unlimited number of creative elegant animations. More CSS animations coming soon.
CSS Entrance animations:
Fade
Zoom In
Zoom Out
Wipe
Slide
WebGL animations
WebGL animations convert any element to image with html2canvas.js, then apply effects to image with custom GLSL shaders. Best use is for simple elements like heading, button or image. With WebGL we can create effects that are not possible with CSS, like 3D distortions or gradient fade, and add those effects to any element on the page.
WebGL Entrance animations:
Fade
Slide
Stretch
Bend
Flip
Zoom
Peel
Lightweight
Only 35kb for CSS animations, additional 45kb if WebGL animations are used.
Elementor animations
Add Entrance animation to any element in Elementor. Select animation type, direction, distance, delay, duration and easing in the Element Advanced tab.
Gutenberg Blocks animations
Add Entrance animation to any Gutenberg block. Select animation type, direction, distance, delay, duration and easing in the block inspector controls.
Entrance Animations via CSS class
If you don’t use Elementor or Gutenberg blocks, you can still use AnimateGL via CSS classes. Add one of preset entrance animations or custom entrance animation to any element on the page by adding the animation CSS class.
Customize direction, duration, easing and delay for each animations
Customize animation properties via CSS class:
Fade – with options for directional fade and threshold
Translate – with options for x, y, and z direction
Rotation – with options for x, y, and z axis
Corners Distortion – for added animation variety
Duration – customize the length of the animation
Delay – customize the start time of the animation
Easing – customize the speed and flow of the animation
Repeat
By default, entrance animation will play when element enters the viewport for the first time. With option repeat enabled, the animation will play each time element enters the viewport.
Lock to scrollbar
Instead of fixed duration entrance animation, we can make the animation progress depend on the scroll position of the element. If the element is below the viewport, the animation progress will be 0. As we scroll the page down, and element is moving towards the middle of the viewport, the animation progresses. The end of animation is when element reches the middle of the viewport. Lock to scrollbar option can be enabled for any animation.
Mouse Effects
AnimateGL also offers mouse-driven distortion effects, including:
Pull – with options for strength, size, RGB shift, and ease
Scroll triggered animations
Entrance animation is played when when the element enters the viewport, when it becomes visible on the screen.
Viewport entrance threshold
By default, entrance animation start to play when 70% or 200px of the element enters the viewport.
Live Editor
Use live editor to create your custom entrance animation.
Enhance the visual appeal of your website with AnimateGL, the most powerful and advanced WebGL animation plugin for WordPress. With its lightweight 33kb gzipped size and no dependencies, AnimateGL is fast, easy to use, and the perfect choice for web designers looking to add unique animations to their website.
Use with any page builder
AnimateGL can be used with any page buidler: Elementor and Gutenberg blocks editor, Visual composer and others, because animations can be added simply by adding a CSS class. Add unique animations in Elementor, Visual Composer or Guteberg blocks editor with AnimateGL.
Help us improve
If you have any problem or feature request for this plugin, please feel free to open a ticket!
How do I add scroll animations to a Gutenberg block?
Select the block and open the AnimateGL panel in the block settings sidebar, then choose an entrance animation. You can also add a preset CSS class in Advanced > Additional CSS class(es).
How do I add animations in Elementor?
Select the section, column, container or widget, open the Advanced tab and choose the animation in the AnimateGL section. You can also add a preset CSS class in Advanced > Layout > CSS Classes.
How do I add animations in Bricks or Divi?
In Bricks, select the element and open the AnimateGL group in its Style tab: the animation plays on the canvas as you set it. In Divi 5, open the module’s Advanced tab and the AnimateGL group, and preview the page to see the animation play. On Divi 4, add the animation’s CSS class to the module’s CSS Class field.
How do I add a hover effect?
Select the block or element, open the AnimateGL settings and pick Lift, Grow or Tilt under Hover effect. With another page builder, add the class agl-hover-lift, agl-hover-grow or agl-hover-tilt. AnimateGL Pro adds WebGL image hover effects and CSS reveals.
How do I make an animation follow the scroll position?
Turn on Lock to scrollbar. The animation’s progress then follows the scrollbar instead of a fixed duration, and the element is fully in place when it reaches the middle of the viewport. For parallax scrolling and fade on scroll, see AnimateGL Pro’s scroll motion.
Can the animation play every time the element scrolls into view?
Yes. Turn on Repeat. By default an animation plays once, the first time the element enters the viewport.
How do I add a typewriter effect to a heading?
Select the heading and turn on Type out the text in the AnimateGL settings, or add the class agl-typewriter. The text is typed out when it scrolls into view.
How do I make numbers count up?
Turn on Count up the numbers in the AnimateGL settings, or add the class agl-count. Every number in the element’s text counts up from 0 when it scrolls into view and ends as written, with its separators and decimals.
Which easings can I use?
Linear, sine, quad, cubic, expo, back, elastic, bounce, three springs and steps, 23 in all, in the block sidebar, the page builders and the class builder. A spring sets its own duration.
Can an AI assistant add the animations for me?
Yes, with WordPress 6.9 or later. Install the MCP Adapter plugin, create an application password in your WordPress profile and connect your assistant (Claude Code, Claude Desktop, Cursor or VS Code) to the site. Then ask it to animate a page in your own words. Every change is saved with a revision. See Use AnimateGL with AI in the docs for the steps and example requests.
How do I add a site intro?
Open the AnimateGL page’s Settings tab, turn on Site intro, and pick its style, colour and when it plays.
Is AnimateGL free?
Yes. All 22 animations, the 106 presets, the typewriter, count-up numbers, the Lift, Grow, Tilt and Skew effects, the Animation Editor and the Gutenberg, Elementor, Bricks and Divi controls are free, with no sign-up and no time limit. AnimateGL Pro is optional.
What does AnimateGL Pro add?
WebGL image hover effects, scroll effects with parallax, animated section backgrounds, loop animations, split text and stagger, triggers and sequences, per-device animations, saved animations, site-wide rules and the add-on presets. See the AnimateGL Pro section above, or animategl.com/pro.
Does it work with blocks from other plugins?
Yes. The AnimateGL panel appears for every block, including blocks from block libraries and dynamic blocks like Latest Posts.
Where is the list of CSS classes for entrance animations?
On the Animations tab of the AnimateGL admin page. Every preset has a live preview and a CSS class you can copy.
Can I preview an animation in the block editor?
Yes. Click Preview animation in the AnimateGL panel to play the selected block’s animation. Blocks are never hidden while you edit.
How do I stagger animations, one element after another?
Give each element the same animation and a longer delay than the one before it, for example 0, 150 and 300 ms. AnimateGL Pro staggers a group’s blocks, or a heading’s words, for you.
Does AnimateGL work with other page builders and themes?
Yes. You can add animations to any element with a CSS class, so they work with any theme or page builder.
How is AnimateGL different from Animate On Scroll (AOS) or Animate.css?
They are JavaScript and CSS libraries you add to a theme by hand. AnimateGL is a WordPress plugin: you choose animations in the block editor or your page builder, without code. It also has WebGL animations, such as bend, flip, peel and glitch, that CSS-only libraries can’t do.
Will animations slow down my website?
CSS animations are GPU accelerated, and the core animation script is about 19 KB gzipped, has no dependencies and loads deferred. It loads only on pages that use AnimateGL, and the WebGL renderer only on pages that use a WebGL animation.
Is my content visible to search engines and without JavaScript?
Yes. AnimateGL hides an element only while its animation is waiting to play. Without JavaScript, or if the animation script can’t load, the content is shown.
What about visitors who prefer reduced motion?
When reduced motion is turned on in the visitor’s system settings, AnimateGL shows the content without animating it, and hover and scroll effects stay off.
What are the limitations of WebGL animations?
WebGL animations work best on simple elements like headings, buttons and images. For complex elements like whole sections, use the CSS animations.
A WebGL animation is drawn above my fixed header
WebGL animations and effects are drawn on one canvas above the page, at z-index 999, so while a block animates or is hovered it covers anything with a lower z-index, such as a sticky header or a cookie banner. Give the header a higher z-index (1000 or more), or lower the canvas’s in the Settings tab of the AnimateGL page: it must stay above the animated blocks and their backgrounds. Developers can also set the --agl-canvas-z-index custom property on the html element in CSS, or use the animategl_canvas_z_index filter.
New: AI tools can animate your pages. With WordPress 6.9 or later and the MCP Adapter plugin, AI assistants that connect to WordPress through it (Claude Code, Claude Desktop, Cursor, VS Code) can list AnimateGL’s animations, find a page, read its blocks and set animations on them. Each change is checked against the animations the site has, saved in one go with a revision to undo it, and refused for blocks set in their AnimateGL panel
New: Site intro, in the Settings tab: the whole page is revealed as it loads, by a Curtain that opens or a Fade, in a colour you pick, on the first page of a visit or on every page. It’s CSS only, the page is drawn under it from the start, and the page’s animations start as it goes. Not under reduced motion
New: Animations play on the Bricks builder’s canvas while you edit. An entrance replays when you change it, and hover effects, count-up numbers and the typewriter start as soon as you pick them
New: The AnimateGL page’s Home tab shows how to start, step by step for the block editor, Elementor, Bricks and Divi, and a “Create a sample page” button makes a draft page full of animated blocks to try
New: Start a 7-day free trial of AnimateGL Pro from the Get Pro tab, the Home tab and the block panel’s More with Pro row
Improvement: Activating AnimateGL opens its Home tab. The opt-in for update emails is still offered, in a notice and on the Plugins screen
Improvement: AnimateGL’s scripts load only on pages that use it. A page without AnimateGL animations loads 2 KB of CSS and a small inline script, not the 70 KB runtime. Classes added outside blocks and page builders (a theme template, a widget) are found in the browser and still animate. To load it on every page as before, return true from the animategl_load_everywhere filter
Improvement: The image block’s AnimateGL toolbar button now says Animate next to its icon
Fix: In page builders, Square, Circle and Line with the Default direction, and Glitch with a direction, now play their own animation instead of the site default
Fix: AnimateGL downloaded every animated image itself as the page loaded, lazy images far down the page too, and often a second file where the browser picks another size for the screen. Images are now left to the browser, and a WebGL animation draws the file the page shows. A gallery of twelve lazy photos now downloads what it does without the plugin: in our tests 1.2 MB in place of 1.55 MB on a desktop, and 2.2 MB in place of 2.9 MB on a phone (3.6 MB with WebGL animations)
Improvement: Pages with many animated elements start about three times faster: a hundred elements are set up in 30 ms in place of 93 ms on a desktop, and in 118 ms in place of 325 ms on a slow phone
1.7.0
New: Eight more free CSS animations, each with four directions: Blur (sharpens as it fades in), Focus (sharpens as it settles from a little larger), Flip (turns in from edge on), Fold (swings out on a hinge at one edge), Rotate (spirals in, or turns or swings on a corner), Roll (rolls in from the side), Skew (slides in leaning and straightens) and Pop (grows past its size and settles). In the block sidebar, Elementor, Bricks, the class builder and the Animation Editor, and as classes such as agl-blurCSSUp or agl-popCSS
New: Count-up numbers, free. Turn on “Count up the numbers” for any block or Elementor element and each number in it counts up from 0 when it scrolls into view, or with its entrance, and ends as written: 1,250, 98.6% or 1.200,50 keep their separators and decimals. As the class agl-count. Visitors who prefer reduced motion see the numbers as written
New: Typewriter text, free. Turn on “Type out the text” for any block or Elementor or Bricks element and its text is typed a character at a time behind a caret when it scrolls into view, or with its entrance. Links and formatting are kept, nothing moves while it types and screen readers read the whole text. As the class agl-typewriter. Visitors who prefer reduced motion see the text as written
New: Bricks builder support. Every Bricks element has an AnimateGL group in its Style tab with the entrance animation, its direction, duration, delay, distance and easing, and the hover and scroll effects. Preview the page to see them play
New: Divi 5 support. Every Divi section, row and module has an AnimateGL group in its Advanced tab with the entrance animation, its direction, duration, delay, distance and easing, and the hover and scroll effects. Preview the page to see them play
Fix: On phones, WebGL animations and effects could trail a little behind the page while it scrolled, most visibly in a page shown inside another (an iframe). The WebGL drawing is now moved, placed and drawn in the same frame as the page
Fix: A WebGL animation locked to the scrollbar whose block came on screen in one jump (a link to an anchor, a fast fling) stayed blank until the page scrolled again
New: A Settings tab on the AnimateGL page with the WebGL canvas’s z-index (999 by default), for sites where an animating block covered a fixed header or banner. Also as the –agl-canvas-z-index custom property on the html element and the animategl_canvas_z_index filter
1.6.0
New: Glitch, a WebGL entrance: the block arrives in bursts, bands jumping sideways and its colours splitting, and settles. As the class agl-glitch. A plain fade under reduced motion
Improvement: New plugin name, AnimateGL – WebGL & CSS Scroll and Hover Animations for Gutenberg and Elementor
New: More easings for every animation, in the block sidebar, Elementor and the class builder: Elastic, Bounce, three springs (soft, bouncy and stiff, which set their own duration), Steps, and Overshoot in and in-and-out. WebGL animations follow an overshoot too (agl-in-easing-easeOutElastic, agl-in-easing-spring-bouncy, agl-in-easing-steps-5 and the rest as classes)
New: Free hover effects Lift, Grow and Tilt, and the Skew scroll effect, for any block or Elementor element. Try them live in the Animations tab, which now links to animategl.com for the Pro effects instead of bundling their clips
Improvement: WebGL animations on text and other elements that aren’t images take their snapshot with html2canvas-pro, the maintained successor of html2canvas, in place of our patched html2canvas 1.4.1. Modern CSS colors such as oklch() and color-mix() are drawn as the page shows them, images with object-fit are cropped as on the page, and text stays exactly in place when the animation ends
New: Elementor 4’s atomic elements (Div block, Flexbox, Heading, Paragraph, Image and the rest, the default on sites that installed Elementor 4.0 or later) have the AnimateGL settings in their panel
Improvement: WebGL animations on text and other elements that aren’t images take their snapshot a screen before they scroll into view, in idle time, so the animation starts without a pause, and don’t take it again on every frame while the page scrolls
Fix: A WebGL animation on text or a card could end a device pixel away from where the element is drawn, so the element shifted when it came back, and its text looked a little bolder or thinner while it animated; the fade animations also left light areas too bright until they ended
Fix: On a Mac, WebGL animations on text looked bolder than the page’s text on sites whose theme uses -webkit-font-smoothing: antialiased (many do). The snapshot’s text is now drawn with the same smoothing in Chrome and Firefox, and thinned to match in Safari (the snapshot is now taken on a canvas of the page, not an off-screen one, which ignored the page’s smoothing)
Fix: html2canvas, which takes the snapshot for WebGL animations on text, is loaded with the plugin’s version, so browsers and CDNs take the new copy after an update instead of keeping the old one for a month
Fix: A WebGL animation on an image or a block with an image could blink out for a moment as it ended, before the image came back (in Chrome, mostly with WordPress’s decoding=”async” images). The WebGL frame now stays until the image is decoded and painted, drawn exactly at the animation’s end and placed on the same device pixels as the element in Chrome too, so the element doesn’t move a fraction of a pixel when it comes back or when a hover effect starts (also at browser zoom levels other than 100%, such as 90%)
1.5.0
Improvement: The Fade animation (all directions, and the Default animation) is drawn with CSS instead of WebGL. It looks the same, starts sooner, keeps text exactly as the page shows it, and works with modern CSS colors. Add the class agl-webgl to an element to keep WebGL
Fix: WebGL animations of an element in a grid or flex layout jumped to another size when they ended
Improvement: Faster pages with only CSS animations: the WebGL part of the runtime (js/lib/animategl.webgl.min.js) now loads only on pages with a WebGL animation
Improvement: WebGL animations use far less graphics memory (shared render targets, drawn at most at 2x pixel density), stop drawing when nothing moves, recover from a lost WebGL context, and let go of animated elements removed from the page
Improvement: WebGL animations start sooner on pages with several of them: elements with the same effects share one compiled shader program
Fix: An element removed from the page in the middle of its WebGL entrance, and put back before it ended, stayed hidden until then
Fix: Picking another animation for a block while its entrance played (in the block editor, or with a class change) didn’t play the new one, could leave the block hidden or scaled, or leave the WebGL copy drawn over it
Improvement: WebGL animations keep working when an optimization plugin (WP Rocket, LiteSpeed Cache, Autoptimize and others) moves, renames or combines the AnimateGL script, and an element whose WebGL part can’t load is shown without the effect
Improvement: Add-on presets (Entrance Pack, Fade Pack) work whichever order the scripts load in, also when an optimization plugin moves them, and are listed once
Fix: The agl-animation-start event was missing for an entrance whose first frame came after its end (short durations on slow devices)
New: Preview animation button in the block editor plays the selected block’s animation
New: Picking an animation or a direction in the block editor plays it right away
New: AnimateGL controls in the block toolbar of image blocks, whose sidebar opens on the Content tab, and of blocks inside locked patterns and block theme templates, where the sidebar hides the AnimateGL panel
Improvement: Block editor panel: the animation list is grouped into CSS and WebGL (and My animations), “Default” is now “Site default” and shows only the controls that apply to it, the fade variants have readable names, the direction list is left out when there is one, and the controls use the current WordPress size
New: Respects the reduced motion accessibility setting
New: Content stays visible without JavaScript, and when the animation script can’t load
New: Readable source of every script is included in the plugin
New: NOTICES.md lists the third-party libraries and their licences, and each script names the ones it includes
Improvement: Scripts load deferred, in the footer
Improvement: Block editor controls rebuilt with current WordPress tooling, and fully translatable
Improvement: Animation classes no longer replace a block’s other classes in the editor
Improvement: The text domain is now animategl, so translations from translate.wordpress.org apply
Improvement: Updated the Freemius SDK to 2.13.4
Developers: New hooks for add-ons: animategl_block_attributes, animategl_block_classes, animategl_runtime_dependencies, animategl_elementor_controls, animategl_elementor_classes, animategl_admin_tabs and animategl_admin_tab_content in PHP; animategl.classes and animategl.panel in the block editor. Presets added by add-ons can set their type (CSS or WebGL) and, in agl.defaults.in.names, mark themselves custom (no directions). In the runtime: AnimateGL.play(element) and AnimateGL.reset(element), the agl-manual class for elements that wait for play(), the agl-animation-start and agl-animation-end events, AnimateGL.registerEffect(name, { init, render }) for effects that run while the page scrolls, picked with the class agl-scroll-, and AnimateGL.registerHoverEffect(name, { init, render }) for effects that run while the mouse is over an element, picked with agl-hover-; its render gets the mouse position, eased velocity (vx, vy, speed) and time (AnimateGL.touchHover = true makes a finger on a touch screen count as the mouse). Both can pass a shader (GLSL chunks and uniforms), which is added only to the elements that use the effect. The class agl-in-none makes an image an AnimateGL element with no entrance, so it can have scroll and hover effects without an animation. The animategl_show_addons_tab filter hides the Addons tab. Preview in the block editor also loads scripts added through animategl_runtime_dependencies
Fix: Animated elements inside content added after the page loads (sliders, AJAX loaders, infinite scroll) now animate, not only ones added on their own
Fix: An image cropped to its block (for example with an aspect ratio set, or object-fit: cover) was drawn stretched during a WebGL animation, then jumped to its real crop when the animation ended
Fix: Elements with rounded corners (border-radius) were drawn with square corners during a WebGL animation
Fix: Hover and scroll effects from add-ons showed an image with a WebGL fade entrance slightly faded
Fix: Text with a WebGL animation could be drawn too low and cut off at the bottom while it animated, on themes that style images as blocks
Fix: Blocks with modern CSS colours (color-mix(), oklch(), lab()), such as separators and post dates in Twenty Twenty-Five or tables in Ollie, showed without their WebGL animation
Fix: A pullquote or table block with a WebGL animation stayed hidden, and could stop later blocks on the page from animating
Fix: Images and translation files of the Freemius SDK were damaged in the plugin package
Security: The AnimateGL page and its settings require the manage_options capability, and saved settings are validated
Security: Elementor animation settings are validated before they’re added to the page
Change: Requires WordPress 6.6 and PHP 7.4
1.4.25
Fix: Block editor didn’t load on WordPress 7.1 (“Cannot read properties of null (reading ‘appendChild’)” in animategl.min.js)
Fix: Animated blocks were invisible in the block editor
Fix: Dynamic blocks failed with “Invalid parameter(s): attributes”, and didn’t animate on the front end
Fix: PHP warnings and editor errors with Elementor 3.26 and later
Fix: An element with a WebGL animation could stay hidden if the WebGL renderer failed to load
Change: Animations no longer play inside the block editor, only on the front end. Running them in the editor made it crash on WordPress 7.1.
Tested with WordPress 7.1
1.4.24
Security: Only administrators can save AnimateGL settings. The settings AJAX action no longer accepts requests from logged-out users and checks the manage_options capability.
1.4.23
Fix: CSS animation repeat
1.4.22
Fix: WebGL animation not working before scroll
1.4.21
Improvement: Performance improvements
1.4.20
Improvement: Performance improvements
1.4.19
Improvement: Better performance for Lock to scrollbar animations
1.4.18
Fix: Updated Freemius SDK to 2.5.10 to fix a vulnerability in Freemius SDK <= 2.5.9
1.4.17
Fix: Increasing viewport height in Safari
1.4.16
Improvement: Faster WebGL animation loading time
1.4.15
Improvement: Admin page Animation editor
Improvement: Element entrance animation trigger changed to 70% or 200px of element is in viewport
1.4.14
Fix: Cache busting for scripts
1.4.13
Fix: Animations not working on front end
1.4.12
Improvement: Play entrance animation when 70% of element enters the viewport
Improvement: WebGL Zoom In animation
New: WebGL Zoom Out animation
1.4.11
Fix: Animations of elements with background-attachment: fixed