Images
The image component, prefixed by gds-image
, is used to style <img>
tags. Note: <img>
tags should always include an alt=""
attribute with a brief description of the image's content.
To include a label element after the gds-image
, use the gds-image__label
class.
<img
class="gds-image"
src="https://c.gumgum.com/ads/com/gumgum/mantii/internal_mobile_inscreen_test/full_canvas/01/mantii_fullscreen.hyperesources/girl@2x.png"
alt="Girl with Coca-Cola logo placeholder"
/>