| 开发者 | jorgemml |
|---|---|
| 更新时间 | 2026年5月14日 13:41 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
.am-fade, .am-scale, or .am-slide-up in your Page Builder, and you're done.
Philosophy: Utility-first. No complex interfaces, no timelines. Just classes and data-am-* attributes.
Free modules
.am-fade) — Smooth appearance with opacity.am-scale) — Scales from small to full size.am-slide-up) — Slides up when appearing.am-slide-down) — Slides down when appearing.am-slide-left) — Slides in toward the left (from the right edge).am-slide-right) — Slides in toward the right (from the left edge).am-skew-up) — Slides up with a slight skew that straightens as it stops (Stripe / Vercel-style).am-float) — Infinite soft up/down floating motion (continuous).am-pulse) — Infinite gentle scale pulse — breathing-like (continuous).am-highlight) — Animated marker highlight behind text on entry.am-typewriter) — Types text character by character with a blinking cursor.am-hover-zoom) — Image scales up smoothly on hover (parent needs overflow: hidden).am-* elements and logs script timing in the browser console).
animicro folder to /wp-content/plugins/No. Use only one animation class per element. Combining .am-fade with .am-slide-up on the same element can cause flicker.
Use data-am-* attributes. For example: data-am-duration="1", data-am-delay="0.3", data-am-easing="ease-in-out".
Animicro Pro is a separate plugin that replaces the free version and unlocks 11 additional animation modules plus Smooth Scroll and a Cheat Sheet. Visit animicro.com to learn more.
scroll-slide-left and scroll-slide-right — scroll-linked horizontal drift. As the visitor scrolls vertically, the element translates horizontally across the viewport. Classic "newspaper strip" / "ticker tape" effect for Hero headlines and section dividers..am-scroll-slide-left — element travels right → left (classic)..am-scroll-slide-right — element travels left → right (inverse).data-am-speed (default 1, range 0.1–3): travel multiplier. 0.5× is a subtle drift, 3× is a wild sweep that pushes the element fully off-screen.prefers-reduced-motion: reduce and never runs inside builder editor previews. IntersectionObserver-gated for performance on long pages.flip-x and flip-y modules (Pro) — 3D card-flip entry animation, the classic AOS-style effect. Elements appear rotating on their X axis (.am-flip-x, like opening a book top-to-bottom) or Y axis (.am-flip-y, like turning a page left-to-right) from a configurable angle back to 0°. Perfect for pricing grids, testimonial cards, feature blocks.data-am-angle (default 180°, range -720..720) lets you do subtle flips (90°), reverse direction (-180°), or full spins (360°, 720°).transformPerspective so the rotation reads 3D without forcing perspective on the parent element. Standard data-am-duration / -easing / -delay / -margin work as usual.Bounce Out easing for a "card lands with a snap" feel — looks great on pricing tables.ken-burns module (Free) — Slow infinite zoom for hero images. Apply .am-ken-burns to any image / element and it cycles between scale 1 and 1.15 over 15 seconds (configurable), giving static backgrounds the cinematic documentary feel.data-am-duration (cycle length), data-am-scale (zoom amount), data-am-easing, data-am-delay.overflow: hidden so the zoomed-in image stays clipped to its frame. Most hero sections in builders already ship with that.prefers-reduced-motion: reduce. Skipped inside Bricks / Elementor / Breakdance / Oxygen / Divi editor previews.cursor module (Pro) — Replaces the system cursor with a custom circle that follows the mouse with smooth lerp interpolation. When the visitor hovers any element carrying .am-cursor-expand, the cursor grows, applies a glassmorphism style (backdrop-filter blur + semi-transparent background), and optionally shows text via data-am-cursor-text="View".data-am-cursor-size) and text (data-am-cursor-text)..am-cursor class on body needed). The native cursor is hidden via critical CSS while the module is active, with explicit exceptions for text inputs so the I-beam stays usable in forms.magnetic module (Pro) — .am-magnetic buttons / icons / links are pulled toward the cursor when it enters their proximity, and snap elastically back when the cursor leaves. Awwwards-style "premium feel" interaction for hero CTAs and nav links.data-am-range (attraction radius), data-am-strength, data-am-smoothness, data-am-axis (x/y/both).prefers-reduced-motion: reduce, and never run inside Bricks / Elementor / etc. editor previews.clip-reveal module (Pro) — .am-clip-reveal images (or any element) get a premium reveal via clip-path. Seven shapes: curtain-down, curtain-up, curtain-left, curtain-right, center-h, center-v, circle. Per-element via data-am-shape="...", default configurable from the admin panel.data-am-duration / -easing / -delay / -margin attributes apply.@media fallbacks force clip-path: none so the image stays fully visible.spin module (Pro) — .am-spin elements rotate continuously and accelerate momentarily when the visitor scrolls. Perfect for circular badges ("Award winning", "100% Quality", brand seals) that you see on Awwwards-style sites.data-am-direction="left|right" (CW / CCW) and data-am-speed (degrees per second, 1–360). Default direction / speed / scroll-boost configured globally from the admin panel.prefers-reduced-motion: reduce (no animation), respects builder editor previews (no rotation inside Bricks / Elementor / etc.).scramble module (Pro) — .am-scramble cycles each character through random symbols (ASCII glitch + alphanumeric mix) and stabilises them left-to-right when the element enters the viewport. Cinema / cyberpunk decoding look.data-am-delay, -stagger, -margin still work.aria-label on the parent so screen readers announce the final phrase once instead of spamming character-by-character mutations. Honors prefers-reduced-motion: reduce (text renders immediately without decoding). Builder-safe.scatter module (Pro) — .am-scatter-chars and .am-scatter-words make characters or words fly in from random offset positions (translate ± radius, rotate ± rotateMax) and converge to their final position when the element enters the viewport.data-am-duration / -easing / -delay / -stagger / -margin still work via the shared attribute API.prefers-reduced-motion: reduce respected, never runs inside Bricks / Elementor / Breakdance / Oxygen / Divi editor previews.magnet module (Pro) — .am-magnet elements drift smoothly toward the mouse with LERP-based inertia. Three attributes: data-am-strength (1–100), data-am-smoothness (0.01–1), data-am-axis (x / y / both). One global rAF loop + one mousemove listener regardless of how many elements you mark — cost scales linearly with element count.prefers-reduced-motion: reduce, never runs inside Bricks / Elementor / Breakdance / Oxygen / Divi editor previews.assets/icon-128x128.png so the standard WP-admin update list now shows the Animicro logo instead of the generic gray plug icon. Works automatically — no settings needed.slide-up it rises across the screen on both legs of the navigation; with slide-down it descends; with fade it crossfades.prefers-reduced-motion (visitors who prefer reduced motion get instant browser navigation, no click interception).class="no-curtain" or data-no-curtain to any <a> that should navigate instantly (downloads, ajax-driven UIs, etc.). External links, target="_blank", modifier-key clicks, middle-clicks, #anchor links and mailto:/tel: links are never intercepted.wp_body_open(), the module falls back cleanly. bfcache-safe (back button works correctly).?bricks=run, ?elementor-preview, etc.) already covers all mainstream page builders, and the body-class CSS exclusion is now applied to all known editors by default. One less knob to confuse you, same builder compatibility behaviour. No action needed if you had configured the toggle — your saved value is now ignored.back-out / circ-out that the dropdown emits, so these values weren't being recognised by the underlying animation engine. Now both work as intended — Bounce Out actually bounces, Snap Out actually snaps.data-am-easing values keep working unchanged.agency, studio) can unlock Pro features without a code change. No user-facing changes in the free tier.slug + name + max_sites). No user-facing changes in the free tier.plan field as an object instead of a plain string. The plugin now normalizes the plan shape on the PHP side and the React UI is defensive against any shape. No user-facing changes in the free tier./wp-admin/ page — they just no longer break the Animicro panel layout. This is the standard practice in plugins like Bricks, Elementor and ACF Pro.v* tag, and Animicro Pro gains in-dashboard auto-updates from those Releases. Free updates continue to flow through wordpress.org as usual.localhost / *.local / *.test)..am-hover-zoom) — image scales up on hover. Tunable via data-am-zoom-scale. Parent needs overflow: hidden..am-img-parallax) — "window effect" that translates the inner <img> on scroll inside an overflow: hidden frame.data-am-loop row in the Pro Cheat Sheet, simplified the frontend module loader, and added .am-parallax to the base visibility selector for consistency..am-skew-up) — entry animation that slides up with a slight skew and straightens as it stops (Stripe / Vercel-style)..am-float) — infinite soft up/down floating motion. Perfect for 3D illustrations, icons, and hero art. Tunable via data-am-amplitude and data-am-duration (cycle length)..am-pulse) — infinite gentle scale pulse, breathing-like. Great for badges, CTAs, and call-to-action buttons. Tunable via data-am-scale-max and data-am-duration (cycle length).prefers-reduced-motion: reduce and skip the animation entirely for visitors who opt out of motion..am-slide-left) and Slide Right (.am-slide-right) are now part of the Free tier. Free users get four slide directions (up, down, left, right) out of the box. No configuration change needed if you're upgrading — just enable them from the Animicro → Modules panel.fade, scale, slide-up, slide-down, slide-left, slide-right and blur now accept data-am-loop="true" to repeat forever. Use data-am-loop-mode (pingpong default, or restart) and data-am-loop-delay to fine-tune. Loop is opt-in per element and automatically skipped under prefers-reduced-motion: reduce.data-am-strings (pipe- or JSON-separated), with data-am-prefix / data-am-suffix wrapping the rotating word. State machine types forward, holds, deletes, and cycles through the list. New controls: Back speed, Back delay, Loop, Shuffle, Cursor character, Cursor persist.data-am-cursor-persist="false" (or disable the admin toggle) to restore the 1.6 fade-out behaviour.aria-label exposes the full prefix + strings.join(", ") + suffix so screen readers announce the complete phrase once instead of per-character.data-am-delay attribute on the page could produce absurdly long delays (e.g. 20 s). Delay and duration are now clamped in JS. Marker moved from ::after to ::before with display: inline-block for accurate width tracking inside all builders. Double-init guard added.prefers-reduced-motion (shows full text immediately with no animation). Cursor CSS moved out of runtime style injection into the stylesheet. New data-am-cursor attribute for a custom cursor character. Double-init guard added.var(--brand-100).