Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
test
README.md
figure-image.twig
pattern.yml

README.md

Figure-Image

A figure element with figcaption and an included img element from /base/img/img.html.

ClassNames

Figure Image

  • default: .base__figure-image

Image

  • default: .base__img
  • as include: .figure__image

Default Output

<figure class="base__figure-image">

  <img src="http://placehold.it/350x150&text=figure__image" alt="Aenean commodo ligula eget dolor. Aenean massa." class="figure__image">

  <figcaption>Aenean commodo ligula eget dolor. Aenean massa. Cumo sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</figcaption>

</figure>