Bootstrap Material 设计cdn
Bootstrap Material Design cdn
我想使用 Bootstrap Material 设计,github 页面说我可以从 jsdelivr.com. But then the Getting Started 页面上说:
Once copied you need to initialize the material javascript by adding
the following javascript to your site,
$.material.init()
jsdelivr 的集成页面说要使用这个:
<link rel="stylesheet" href="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/css/material-wfont.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/css/material.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/css/ripples.min.css">
<script src="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/js/material.min.js"></script>
<script src="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/js/ripples.min.js"></script>
但看起来 material-wfont.min.css 返回 404。很难验证是否一切正常,因为我不知道新的外观和感觉会怎样是。
如果我使用cdn链接,那么我需要使用$.material.init()
?
尝试将标签更改为
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/css/roboto.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/css/material-fullpalette.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/css/ripples.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/js/material.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/js/ripples.min.js"></script>
下载它
如果从 Github Page 下载文件会更容易。
您可以在 http://fezvrasta.github.io/bootstrap-material-design/.
中获得更多信息
使用凉亭
bower install bootstrap-material-design
在添加 Material 设计 JavaScript 之前,您还需要 jQuery (jquery.com) 和来自 getbootstrap.com 的原始 Bootstrap文件
我想使用 Bootstrap Material 设计,github 页面说我可以从 jsdelivr.com. But then the Getting Started 页面上说:
Once copied you need to initialize the material javascript by adding the following javascript to your site,
$.material.init()
jsdelivr 的集成页面说要使用这个:
<link rel="stylesheet" href="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/css/material-wfont.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/css/material.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/css/ripples.min.css">
<script src="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/js/material.min.js"></script>
<script src="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/js/ripples.min.js"></script>
但看起来 material-wfont.min.css 返回 404。很难验证是否一切正常,因为我不知道新的外观和感觉会怎样是。
如果我使用cdn链接,那么我需要使用$.material.init()
?
尝试将标签更改为
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/css/roboto.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/css/material-fullpalette.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/css/ripples.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/js/material.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/0.3.0/js/ripples.min.js"></script>
下载它
如果从 Github Page 下载文件会更容易。 您可以在 http://fezvrasta.github.io/bootstrap-material-design/.
中获得更多信息使用凉亭
bower install bootstrap-material-design
在添加 Material 设计 JavaScript 之前,您还需要 jQuery (jquery.com) 和来自 getbootstrap.com 的原始 Bootstrap文件