This is a caption for the image above
Normal italic text remains styled as italic when not preceded by an image.
--image-caption-font-size
var(--font-size-s)
Smaller caption with custom font size
--- style: | :root { --image-caption-font-size: 0.7em; } ---
Override the caption font size to make it smaller.
Images without captions can be placed side by side as usual:
With captions, images become display: block, so each image is on its own line:
display: block
Caption A
Caption B