Caption Hover Effects

A tutorial on how to create some subtle and modern caption hover effects.

Stay in the loop: Get your dose of frontend twice a week

Fresh news, inspo, code demos, and UI animations—zero fluff, all quality. Make your Mondays and Thursdays creative!

Feedback 151

Comments are closed.
  1. Afternoon all,

    I am attempting to implement Example No. 7, but the text inside of the and tags does not show up. It works fine in all of the examples except No. 7. Can anyone offer a bit of advice as to what I may be doing wrong? Thanks.

  2. My mistake. my above comment should state that the text doesn’t show up inside of the H3 or the span tags. For example, “Music” and “Jacob Cummings” doesn’t not show up while using Example No. 7, but it works fine for the rest of the examples. Thanks.

  3. Thank you so much for this! I implemented a version of style 3 on my portfolio site. It works and looks great!

  4. Hello, I’m getting an error when using toucheffects.js
    I’m not using the version of Modernizr shipped w/ the plugin. I’m using the latest 2.8.2 Development version. I’m on CodeKit 2 and JSHint keeps coming back with that error. Anyone have this issue?

  5. I would really like to use this effect in a masonry layout. Using: http://masonry.desandro.com

    I have spent quite a bit of time trying this however I haven’t managed to get it working. Please could you help me add this to a masonry layout.
    Thanks,

  6. Thanks for this lovely effect demo. But i am facing one problem when i check this o mobile touch effect working good. but i need when i click on another image previous image effect will be remove an please help me to do this

  7. Hi,

    I try to make an miror/invert effet like the Exemple 4, it open from left to right, and I would like to open from right to left.

    If someone have an idea,

    Thank’s
    Burnside.

  8. I am using effect 4, and i m also changed the cs-style-1 to 4, but it dosen’t work with effect 4 correctly. what can i do…

  9. This is amazing! I’ve just added it on my website. At first it didn’t work because I didnt include modernizr.custom.js
    Don’t forget to include modernizr.custom.js!

  10. Just a silly question, about Effect 7… I guess I did something wrong (btw, I’m just a newbie), but how you keep the :hover state after “abandon” the element? In the demo I can jump without problem to the without closing it, but when I tried to do it at home, the second I place the cursor outside I lost the , being impossible to click the link…

    Many thanks, I love your tutorials!

  11. Stopped working for Chrome – Windows 10. Just want to let you know that none of the hover effects work anymore. Not sure why. Maybe an update in Chrome or something

  12. Yeah, seems like a bug in Chrome/Chromium. One other thing that I’ve noticed that stopped working is panning in Flickr’s zoomed-in mode.

    • Then again, maybe not – all this works in the exact same version of Chromium browser on a different machine.

  13. Hi,
    I was using the great Effect 2 in a website, but after upgrading my laptop to Windows 10, the effect did not work anymore in the google Chrome and Firefox browser. It still worked in IE explorer. Is this a known problem? or what is wrong, does it need to be updated?
    Thank You

  14. Hello, thanks for this great tutorial.

    I need to change the number so to show more boxes in a row than 2.
    Can you help me?

  15. Has anyone tried using one of the caption hover effects with the Foundation 5 framework? I’m sure I’ve got everything coded correctly; I even tested it with multiple versions of modernizr. Unfortunately nothing seems to work as the figures don’t respond to touch on mobile.

  16. Hi Mary, thanks for your effect.
    I have testing the effect on windows 10 Edge (with tactile screen) but doesn’t works.
    It’s ok on Android and Ios.
    Have you an ugrade or any ideas ?
    Best regards

  17. None of the hover effects are working for me either. No JS errors in the console and I am using Chrome Version 46.0.2490.52 beta-m (64-bit) on Windows 10

  18. Hi,
    Can you say which the version of Modernizr have you build.
    Cause for fixed bug for screen touch device, I would add the line :
    if (Modernizr.touchevents || Modernizr.pointerevents) {
    for replace :
    if( Modernizr.touch ) {

    I explain, the event cant’ detected on specific device with Windows 10, firefox for example.
    And I thinks this event can fixed it but I wanna upgrade your version of Modernizr too.

    Thanks for thanks and thanks of lot for your script

  19. That was awesome. Thanks to people like you I remember that front-end can be nice to perform.

  20. Hi! Great tutorial .. Thanks!

    I´m having a little problem here: could I use the class “grid” to get 100% of the browser canvas? I try to set 100% to the size of grid class but it do not work. So, I tryed to set max-width: 1920px and it not work too.

    Could you help me?

    Sorry for my english.

    Thanks!

  21. So I’m super late to the party, but uh. The demo works on my phone but when I implemented everything into my website it stopped working? Help!

    • Hi @Nicole, did you found any solution for this? I used the plug in in the past and worked fine but not it just stop working