Q&A: Is there CSS code that allows text AND image to appear when you hover over a thumbnail?

css movie making
by [AJ]

Question by Dantes: Is there CSS code that allows text AND image to appear when you hover over a thumbnail?
Or would Javascript be required? I would like to duplicate the speech bubbles in the Netflix website that contain both the movie image as well as the synposis. I know you can make larger images appear over links, but that doesn’t include text.

Can someone tell me how to do this please? thanks!

Best answer:

Answer by jlhaslip
Yes, indeed, there is a CSS method to do that.

Hover on the “Sell your House” text in the second paragraph on this page.
http://jlhaslip.com/samples/tooltips/

Do a view source to see the code.

Give your answer to this question below!

Get the book now