0.0.6 • Published 7 years ago

pattern-figure-image v0.0.6

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
7 years ago

Pattern: figure image

A system-agnostic HTML pattern for a figure element containing an image

What is it?

A figure element with an img element and an optional figcaption.

<figure class="figure--foo">
  <img src="https://unsplash.it/200/300" alt="Foo Image">
  <figcaption>Foo image caption</figcaption>
</figure>

npm scripts

  • npm run lint - lints Javascript
  • npm run ava - runs unit tests
  • npm run nyc - runs unit tests, then runs code coverage
  • npm test - runs npm pretest first, which runs the linting, then ava, then nyc
0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago