Hover to see a .

It the sentence when the image and text are next to each other in HTML.

To fix this, position the image at the end of the element, and use the ~ selector in the CSS.

Let’s see if it works with videos. (The video should play when it’s displayed, but sometimes it takes a while to load.)

Bonus round! I want to make it so you can click a word to toggle an image. This is not currently possible using just CSS, so we must bring in JavaScript, and particularly jQuery.

Click here to show image.