Image Hover Effects Widget and CSS Generator
Preview 16 hover effects on a real photo, or on your own. Copy the CSS for any of them for free. Or describe the gallery you want and the AI builds it, with captions, links and a lightbox, ready to paste into WordPress, Shopify, Squarespace or Wix.
Hover the image, tap it, or Tab to it to see the effect.
Your photo stays in your browser; nothing is uploaded. Eight more effects are in the gallery below.
16 Image Hover Effects to Copy
Each one is live: hover a tile, tap it, or Tab through them with the keyboard. Copy CSS gives you a self-contained HTML and CSS snippet with plain class names. It shows the effect on keyboard focus, keeps captions visible on touch screens, and turns the motion off for visitors who ask for reduced motion.
-
Zoom in
The photo grows inside its frame. The safest default for product and blog cards.
Show code
<!-- Zoom in hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-zoom" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-zoom img { transition: transform 0.5s ease; } .hfx-zoom:hover img, .hfx-zoom:focus-within img { transform: scale(1.12); } @media (prefers-reduced-motion: reduce) { .hfx-zoom, .hfx-zoom *, .hfx-zoom::before, .hfx-zoom::after { transition: none; } } </style> -
Zoom out
Starts slightly cropped and settles back to the full photo on hover. A calmer alternative to zooming in.
Show code
<!-- Zoom out hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-zoom-out" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-zoom-out img { transform: scale(1.18); transition: transform 0.6s ease; } .hfx-zoom-out:hover img, .hfx-zoom-out:focus-within img { transform: scale(1); } @media (prefers-reduced-motion: reduce) { .hfx-zoom-out, .hfx-zoom-out *, .hfx-zoom-out::before, .hfx-zoom-out::after { transition: none; } } </style> -
Grayscale to colour
Black and white at rest, full colour on hover. Makes a busy grid of photos look calm and consistent.
Show code
<!-- Grayscale to colour hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-grayscale" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-grayscale img { filter: grayscale(1); transition: filter 0.4s ease; } .hfx-grayscale:hover img, .hfx-grayscale:focus-within img { filter: grayscale(0); } @media (prefers-reduced-motion: reduce) { .hfx-grayscale, .hfx-grayscale *, .hfx-grayscale::before, .hfx-grayscale::after { transition: none; } } </style> -
Blur to sharp
Soft at rest, sharp on hover. The small scale-up hides the blurred edges.
Show code
<!-- Blur to sharp hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-blur" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-blur img { filter: blur(5px); transform: scale(1.06); transition: filter 0.4s ease, transform 0.4s ease; } .hfx-blur:hover img, .hfx-blur:focus-within img { filter: blur(0); transform: scale(1); } @media (prefers-reduced-motion: reduce) { .hfx-blur, .hfx-blur *, .hfx-blur::before, .hfx-blur::after { transition: none; } } </style> -
Overlay with caption
A dark layer fades in with a title and a line of text. The classic portfolio tile.
Show code
<!-- Overlay with caption hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-overlay" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> <figcaption> <strong>Mountain lake</strong> <span>View the gallery</span> </figcaption> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-overlay figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px; background: rgba(23, 19, 31, 0.6); color: #fff; text-align: center; opacity: 0; transition: opacity 0.3s ease; } .hfx-overlay:hover figcaption, .hfx-overlay:focus-within figcaption { opacity: 1; } /* No hover on phones: show the caption on a gradient instead */ @media (hover: none) { .hfx-overlay figcaption { opacity: 1; justify-content: flex-end; background: linear-gradient(transparent 40%, rgba(23, 19, 31, 0.75)); } } @media (prefers-reduced-motion: reduce) { .hfx-overlay, .hfx-overlay *, .hfx-overlay::before, .hfx-overlay::after { transition: none; } } </style> -
Slide-up caption
A caption bar rises from the bottom edge. Good for product names and prices.
Show code
<!-- Slide-up caption hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-slide-up" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> <figcaption>Sunset, print from $24</figcaption> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-slide-up figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: rgba(23, 19, 31, 0.75); color: #fff; transform: translateY(100%); transition: transform 0.35s ease; } .hfx-slide-up:hover figcaption, .hfx-slide-up:focus-within figcaption { transform: translateY(0); } /* No hover on phones: keep the caption showing */ @media (hover: none) { .hfx-slide-up figcaption { transform: none; } } @media (prefers-reduced-motion: reduce) { .hfx-slide-up, .hfx-slide-up *, .hfx-slide-up::before, .hfx-slide-up::after { transition: none; } } </style> -
Shadow lift
The whole card rises and its shadow deepens. Reads as "this is clickable" without touching the photo.
Show code
<!-- Shadow lift hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-lift" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-lift { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); transition: transform 0.3s ease, box-shadow 0.3s ease; } .hfx-lift:hover, .hfx-lift:focus-within { transform: translateY(-8px); box-shadow: 0 18px 36px rgba(23, 19, 31, 0.28); } @media (prefers-reduced-motion: reduce) { .hfx-lift, .hfx-lift *, .hfx-lift::before, .hfx-lift::after { transition: none; } } </style> -
Rotate and zoom
A slight turn plus a zoom, so the frame never shows a gap. Playful; use it on one or two images, not a whole shop.
Show code
<!-- Rotate and zoom hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-rotate" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-rotate img { transition: transform 0.5s ease; } .hfx-rotate:hover img, .hfx-rotate:focus-within img { transform: rotate(4deg) scale(1.2); } @media (prefers-reduced-motion: reduce) { .hfx-rotate, .hfx-rotate *, .hfx-rotate::before, .hfx-rotate::after { transition: none; } } </style> -
3D tilt
The card leans back in perspective. A static version of the mouse-following tilt some sites use.
Show code
<!-- 3D tilt hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-tilt" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-tilt { transition: transform 0.4s ease; } .hfx-tilt:hover, .hfx-tilt:focus-within { transform: perspective(800px) rotateX(8deg) rotateY(-10deg) scale(1.02); } @media (prefers-reduced-motion: reduce) { .hfx-tilt, .hfx-tilt *, .hfx-tilt::before, .hfx-tilt::after { transition: none; } } </style> -
Border draw
A thin frame grows in from the middle of each side while the photo dims a little.
Show code
<!-- Border draw hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-border" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-border::before, .hfx-border::after { content: ""; position: absolute; inset: 12px; z-index: 1; pointer-events: none; transition: transform 0.4s ease; } .hfx-border::before { border-top: 2px solid #fff; border-bottom: 2px solid #fff; transform: scaleX(0); } .hfx-border::after { border-left: 2px solid #fff; border-right: 2px solid #fff; transform: scaleY(0); } .hfx-border img { transition: filter 0.4s ease; } .hfx-border:hover::before, .hfx-border:focus-within::before, .hfx-border:hover::after, .hfx-border:focus-within::after { transform: scale(1); } .hfx-border:hover img, .hfx-border:focus-within img { filter: brightness(0.75); } @media (prefers-reduced-motion: reduce) { .hfx-border, .hfx-border *, .hfx-border::before, .hfx-border::after { transition: none; } } </style> -
Colour tint
Washes the photo in your brand colour, like a duotone. Swap #7c3aee for your own.
Show code
<!-- Colour tint hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-tint" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-tint::after { content: ""; position: absolute; inset: 0; background: #7c3aee; mix-blend-mode: color; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; } .hfx-tint:hover::after, .hfx-tint:focus-within::after { opacity: 0.85; } @media (prefers-reduced-motion: reduce) { .hfx-tint, .hfx-tint *, .hfx-tint::before, .hfx-tint::after { transition: none; } } </style> -
Shine sweep
A streak of light crosses the image once. Snaps back without replaying when the pointer leaves.
Show code
<!-- Shine sweep hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-shine" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } /* Pure motion, so it is skipped when reduced motion is on */ @media (prefers-reduced-motion: no-preference) { .hfx-shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: translateX(-150%) skewX(-20deg); pointer-events: none; } .hfx-shine:hover::after, .hfx-shine:focus-within::after { transform: translateX(350%) skewX(-20deg); transition: transform 0.7s ease; } } @media (prefers-reduced-motion: reduce) { .hfx-shine, .hfx-shine *, .hfx-shine::before, .hfx-shine::after { transition: none; } } </style> -
Flip to reveal
The image turns over to show text on its back. For more than a line or two, see the flip cards widget.
Show code
<!-- Flip to reveal hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <div class="hfx-flip" tabindex="0"> <div class="hfx-flip-inner"> <img src="photo.jpg" alt="Describe the photo"> <div class="hfx-flip-back"> <strong>Sunset</strong> <span>Put the details on the back.</span> </div> </div> </div> <style> .hfx-flip { max-width: 400px; aspect-ratio: 4 / 3; perspective: 1000px; } .hfx-flip-inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform 0.6s ease; } .hfx-flip img, .hfx-flip-back { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .hfx-flip img { object-fit: cover; } .hfx-flip-back { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px; background: #7c3aee; color: #fff; text-align: center; transform: rotateY(180deg); } .hfx-flip:hover .hfx-flip-inner, .hfx-flip:focus-within .hfx-flip-inner { transform: rotateY(180deg); } @media (prefers-reduced-motion: reduce) { .hfx-flip, .hfx-flip *, .hfx-flip::before, .hfx-flip::after { transition: none; } } </style> -
Ken Burns pan
A slow zoom and drift, like a documentary still. Best on large hero images, not small thumbnails.
Show code
<!-- Ken Burns pan hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-ken-burns" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-ken-burns img { transform-origin: 30% 40%; transition: transform 6s ease-out; } /* Pure motion, so it is skipped when reduced motion is on */ @media (prefers-reduced-motion: no-preference) { .hfx-ken-burns:hover img, .hfx-ken-burns:focus-within img { transform: scale(1.2) translate(4%, 3%); } } @media (prefers-reduced-motion: reduce) { .hfx-ken-burns, .hfx-ken-burns *, .hfx-ken-burns::before, .hfx-ken-burns::after { transition: none; } } </style> -
Slide-in panel
A coloured panel slides over the left of the image with a title and a count. Leaves most of the photo visible.
Show code
<!-- Slide-in panel hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-panel" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> <figcaption> <strong>Night sky</strong> <span>12 photos</span> </figcaption> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-panel figcaption { position: absolute; top: 0; bottom: 0; left: 0; width: 60%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px; background: rgba(124, 58, 238, 0.88); color: #fff; transform: translateX(-100%); transition: transform 0.4s ease; } .hfx-panel:hover figcaption, .hfx-panel:focus-within figcaption { transform: translateX(0); } /* No hover on phones: show it as a bar along the bottom */ @media (hover: none) { .hfx-panel figcaption { top: auto; width: 100%; transform: none; } } @media (prefers-reduced-motion: reduce) { .hfx-panel, .hfx-panel *, .hfx-panel::before, .hfx-panel::after { transition: none; } } </style> -
Circle reveal
A dark layer opens outward from the centre with a call to action in the middle.
Show code
<!-- Circle reveal hover effect. If the image is a link, wrap it in <a href="..."> and drop tabindex. --> <figure class="hfx hfx-circle" tabindex="0"> <img src="photo.jpg" alt="Describe the photo"> <figcaption>View project</figcaption> </figure> <style> .hfx { position: relative; overflow: hidden; margin: 0; max-width: 400px; aspect-ratio: 4 / 3; border-radius: 12px; } .hfx img { display: block; width: 100%; height: 100%; object-fit: cover; } .hfx-circle figcaption { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(23, 19, 31, 0.7); color: #fff; font-weight: 600; clip-path: circle(0% at 50% 50%); transition: clip-path 0.5s ease; } .hfx-circle:hover figcaption, .hfx-circle:focus-within figcaption { clip-path: circle(75% at 50% 50%); } /* No hover on phones: show the label at the bottom */ @media (hover: none) { .hfx-circle figcaption { clip-path: none; align-items: flex-end; padding-bottom: 12px; background: linear-gradient(transparent 50%, rgba(23, 19, 31, 0.7)); } } @media (prefers-reduced-motion: reduce) { .hfx-circle, .hfx-circle *, .hfx-circle::before, .hfx-circle::after { transition: none; } } </style>
Rather not paste CSS at all? Describe the grid you want, for example "nine project photos, grayscale until hover, title slides up", and the AI builds the whole gallery as a widget you embed once.
Hover Effects on Phones and Touch Screens
A phone has no pointer, so nothing can hover. Browsers handle that in different ways. Safari on iPhone often shows the hover state on the first tap and follows the link on the second. Many other mobile browsers go straight to the link, so the visitor never sees what was behind the hover. Either way, a caption that only appears on hover is unreliable on touch screens, and on many sites most visitors are on phones.
Two media queries fix most of it. (hover: none) matches touch devices, so you can show captions all the time there. (hover: hover) matches devices with a real pointer, so you can keep purely decorative effects to them:
/* Phones and tablets: no hover, so show captions all the time */
@media (hover: none) {
.card figcaption { transform: none; opacity: 1; }
}
/* Only zoom where a real pointer can hover */
@media (hover: hover) {
.card:hover img { transform: scale(1.1); }
}The caption effects in the gallery above already do this: on a phone the overlay, slide-up, panel and circle captions sit on the image from the start. Zooms and colour changes don't need it; if a visitor never sees them, nothing is lost.
Keep Hover Effects Fast
A hover effect runs every time a pointer crosses an image, so it is worth making it cheap for the browser.
- Animate transform, opacity and filter. Browsers can usually animate these without working out the page layout again. Animating
width,height,top,leftormarginmakes the browser redo the layout on every frame, which is where jank comes from. To make an image bigger, usetransform: scale(). - Be careful with big blurs and shadows. A large
blur()or a changingbox-shadowis repainted on each frame. On a grid of 30 cards, put the big shadow on a pseudo-element and fade its opacity instead. - Use will-change sparingly.
will-change: transformgives an element its own layer, which costs memory. Add it to an element that is about to animate, not to every image on the page. - The images matter more than the effect. Serve them close to the size they are shown at (a zoom of 1.1 needs only a little extra), and lazy-load images below the fold.
What Hover Must Not Hide
Hover effects are decoration on top of an image. Keyboard users, touch users and screen reader users get little or none of the hover itself, so a few rules keep the content working for everyone:
- Show it on focus too. Every snippet here uses
:focus-withinnext to:hover, so a visitor who Tabs to the image sees the same thing. - Don't put essential information only behind hover. A price, a "Buy" button or the only link to a project should be visible without hovering.
- Alt text still matters. A caption that fades in is not a description of the photo. Give every image an alt text that says what it shows.
- Keep overlay text readable. White text needs a dark enough layer behind it: around 60% black over a photo is a safe start.
- Respect reduced motion. Zoom, tilt, rotate and slow pans can make some people feel unwell. With
prefers-reduced-motion: reducethe snippets skip the movement and still show the end state; the Ken Burns pan and shine sweep are switched off.
Write the CSS Yourself, or Use the Widget?
Honestly: if you want one effect on a few images that are already on your page, copy the CSS above. It is free, it is a few lines, and your images stay in your own HTML. The widget is worth it when the hover effect is part of something bigger.
| Copy the CSS | Use the widget | |
|---|---|---|
| Best for | One effect on a handful of images | A whole gallery, grid or set of cards |
| Where it lives | Your theme's stylesheet or a Custom HTML block | One snippet; edit in your dashboard, every page updates |
| Captions, links, prices | You write the HTML for each image | Describe them; upload images in the editor |
| Lightbox, filters, "load more" | JavaScript you write and maintain | Ask for it; the AI writes it |
| Theme changes | CSS in a theme can be lost when you switch or update it | Unaffected; the widget runs in its own Shadow DOM |
| Search engines | Images in your page HTML are easy to index | Drawn by JavaScript, so less dependable for image search |
| Cost | Free | Free to start, then credits per load |
If your images are the main content of the page, such as a photographer's portfolio, keep them in your own HTML. For a team grid, a product teaser or a set of linked cards, the widget saves you writing and maintaining the markup. For a plain photo grid without hover tricks, see the image gallery widget.
What the Widget Adds to the Effect
The AI writes the HTML, CSS and JavaScript for a whole hover gallery from your description. These are the parts that take longest by hand:
Where to Paste It
A copied CSS snippet and the widget go in the same place. When you publish a widget, you get this snippet with its ID filled in:
<script src="https://cdn.mightywidgets.com/load.js" async></script>
<div data-mightywidgets-id="YOUR_WIDGET_ID"></div>WordPress
Add a Custom HTML block where the images should go and paste either snippet. No plugin needed.
Shopify
In the theme editor, add a Custom Liquid section to the page or product template and paste it there.
Squarespace
Add a Code block. The widget snippet needs a plan that runs scripts in Code blocks (Core and above).
Wix
Add an Embed HTML element (Add, then Embed Code), paste, and drag the box to the height of your grid.
If you paste the CSS snippet more than once on a page, keep one copy of the <style> block and repeat only the HTML.
Prompts to Start From
Describe the gallery the way you would to a designer. These are good starting points:
- Portfolio: "A 3-column grid of my 9 project photos. On hover the photo darkens and the project name and year fade in. Clicking opens it in a lightbox with arrows."
- Product teaser: "Four product cards. Zoom the photo slightly on hover and slide up a bar with the price and a Shop now link. On phones, show the bar all the time."
- Team page: "Team photos in black and white that turn to colour on hover, with name and role always visible underneath."
- Restaurant: "Six dish photos with a slow Ken Burns zoom on hover and the dish name in a purple panel on the left. No movement for visitors who prefer reduced motion."
Image Hover Effects Questions
Is the image hover effects widget free?
Yes, to start. The Free plan includes 50 credits for building and editing with AI, and your widget's first 100 loads each month are free. After that each load uses one credit; if you run out, the widget keeps working with a small "Powered by MightyWidgets" tag. The CSS snippets on this page are free to copy with no account.
Can I just copy the CSS instead of using the widget?
Yes. Every effect on this page has a Copy CSS button that gives you a self-contained snippet: HTML, CSS, keyboard focus, touch screens and reduced motion included. No account and no credit needed. Swap in your own image and alt text and paste it into your page.
Do hover effects work on phones?
Phones have no hover. Some mobile browsers show the hover state on the first tap, others go straight to the link, so a caption that only appears on hover may never be seen. The snippets here use @media (hover: none) to show captions all the time on touch screens. When you build with the widget, ask for the same.
Which hover effect should I use?
For product grids and blog cards, a gentle zoom or shadow lift: they signal "clickable" without hiding anything. For portfolios, an overlay or slide-up caption with the project name. Grayscale to colour works for team photos. Keep the playful ones (rotate, tilt, flip, shine) for a few images, not a whole shop.
Will hover effects slow down my site?
Not if they animate transform, opacity or filter, which the browser can usually do without redrawing the page. The cost that matters is the images themselves: serve them close to the size they are shown at, and lazy-load the ones below the fold.
Do I need a plugin to add image hover effects in WordPress?
No. Paste the CSS snippet or the widget snippet into a Custom HTML block. Page builders such as Elementor have a few built-in hover animations, which are fine if one of them is what you want. The widget helps when you want captions, links and a lightbox together, or the same gallery on several sites.
Can each image have its own caption and link?
Yes. Tell the AI the caption and the link for each image, or ask for some images to open in a lightbox instead. You upload the images in the editor.
Are image hover effects accessible?
They can be. Show the effect on keyboard focus as well as hover (every snippet here does), never hide something visitors need (a price, a button) only behind hover, keep text on overlays readable, and turn motion off for visitors who ask for reduced motion. The alt text on each image still matters; a hover caption doesn't replace it.
Can I change the effect after the widget is on my site?
Yes. Ask the AI for the change (or edit the widget in your dashboard) and publish. Every page that embeds the widget updates, and the snippet you pasted stays the same.
Build Your Hover Gallery
Describe the images, captions and effect, then paste one snippet. Free to start.
Get Started Free

