In Spruce, we use a general responsive styling for all images. We also disable the user-select
.
img {
block-size: auto;
display: block;
max-inline-size: 100%;
user-select: none;
}
To create an image caption, use the figure
and figcaption
element with the .figure
and .figure-caption
.
<figure class="figure">
<img src="..." alt="..."/>
<figcaption class="figure-caption">The beach where we were sunbathing last summer.</figcaption>
</figure>