How to Add Hover Zoom to Rich Text

This is a rich text element with a class. There is an image in the same block below this that zooms in when you hover.

This is an image caption

Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.

Give the rich text block a class. Then select the image, give it a transition for transform. While the image is still selected, switch to the hover state, and give the image a transform: scale of 1.25

Follow-up:

Now, this paragraph and image is in a normal div, but the div has the same class as above richtext element. Notice how the image effects are still applied to it?