HTML: How to Resize Markup Like an Image With CSS Container Queries!
Too Long; Didn't Read
In this post we’re going to make an ad, that looks like an image, with HTML and CSS. We’ll make it act like an Image as it gets squished, expanded, and moved to other locations within the document. The first step here is to provide a container to monitor our dimensions. This will be our figure element.