2

Their example is this:

<img class="card-img-top" data-src="holder.js/100%x180/" alt="Card image cap">

So I thought if I included:

<script src="https://cdnjs.cloudflare.com/ajax/libs/holder/2.9.0/holder.js"></script>

It would work, but it doesn't.

cvrebert
  • 9,075
  • 2
  • 38
  • 49
Phillip Senn
  • 46,771
  • 90
  • 257
  • 373
  • Possible duplicate of [How to load bootstrap thumbnail images](http://stackoverflow.com/questions/15645161/how-to-load-bootstrap-thumbnail-images) – Shehary Nov 11 '15 at 21:59

1 Answers1

2

The example is outdated. Percentage widths should be specified with a p, not a % sign:

<img class="card-img-top" data-src="holder.js/100px180/" alt="Card image cap">

See http://jsfiddle.net/8p3absau/

imsky
  • 3,239
  • 17
  • 16