Holder.js和Bootstrap卡 - 无法显示img data-src

时间:2016-02-27 13:55:18

标签: twitter-bootstrap holder.js

我是新手,使用holder.js和bootstrap卡时无法显示我的图片。我跑过holder.js作为创建自举卡的第一个解决方案,这就是我尝试使用的东西。如果有一个更好的解决方案我会全力以赴。

#include <stdio.h>
int main(){
    int b=10,ch=33^b&1;
    for(;"what"[b+++-8];)
    printf("%c",ch);
}

这是我在holder.js中调用的标题

<div class="card">
        <img class="card-img-top" data-src="http://seeklogo.com/images/P/Polaris-logo-F1A7D948C6-seeklogo.com.gif" alt="Card image cap">
        <div class="card-block">
          <h4 class="card-title">Card title</h4>
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
          <a href="#" class="btn btn-primary">Button</a>
        </div>
      </div>

我在这里缺少什么?

1 个答案:

答案 0 :(得分:0)

我想我在这里找到了正确的答案:Can't figure out how to use Bootstrap thumbnail component

我删除了data-src而只使用了src而且它可以工作。

任何人都可以解释某人何时需要/想要使用holder.js?我不理解使用data-src的目的。