I was thinking about something like this http://codepen.io/chrisburton/pen/olwIk but there's an issue on hover. It cuts in an out when you move your mouse around the thumbnails.
I was thinking about something like this http://codepen.io/chrisburton/pen/olwIk but there's an issue on hover. It cuts in an out when you move your mouse around the thumbnails.
Simply fix the z-index on .play:hover. Problem solved.
One question, if i want to add it to multiple images what do i edit/add
Just instead of making several new .play and .movie codes, what could be a solution.
So im trying to make a Image hover, something like Netflix really. You hover and a Player Button with Opacity shows.
http://jsfiddle.net/LkEzc/
Explains what im after, sadly dunno how to do this still a newbie to css would appreciate some help alot.
You can set the opacity by using the opacity property.
http://jsfiddle.net/LkEzc/1/
Thanks Chris, but not really what i was looking for. I want the "Player Trailer Image" to appear on top of the other image on hover.
Update the URL to the photo. I don't see the "Play Trailer Image".
Oh thats strange i see it. Should be right underneath
URL: http://i.imgur.com/6fHv5ZC.png
I was thinking about something like this http://codepen.io/chrisburton/pen/olwIk but there's an issue on hover. It cuts in an out when you move your mouse around the thumbnails.
Simply fix the z-index on .play:hover. Problem solved.
Whole code:
Thank you so much for taking time guys, still cant get it working tho hmm. Dunno if i accidentally edited the Codepen link and somehow it saved.
Mind sending me a new link @Chrisburton
@Jaseon I updated the pen to @HugoGiraudel's fix (thank you). The reason it might not have worked is because he is using SASS.
http://codepen.io/chrisburton/pen/olwIk
You saved me, thank you so much ! I really really really appreciate that.
Sorry. Habits.
One question, if i want to add it to multiple images what do i edit/add Just instead of making several new .play and .movie codes, what could be a solution.
and here is a simplified version if you want: http://codepen.io/chrisburton/pen/Bioea
add a class of
movieto the movie thumbnails and a class ofplayfor the hover "play trailer" thumbnail is the way I'd do it.Since I don't know your markup structure, I can't really say. Perhaps someone else could lend a hand.
Oh i get it now. alright yet again thank you @chrisburton [Solved]
I believe you could also use jQuery to add a class of
.play(or append some html) to the image on hover. That isn't my area though.