twitter-bootstrap 在 jsFiddle 中使用 twitter 的引导程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17251586/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Using twitter's bootstrap in jsFiddle
提问by Adam Matan
I would like to use Twitter's Bootstrapin one of my fiddles. Since jsFiddledoes not offer bootstrap as one of its pre-defined libraries, I am looking for a minified url.
我想在我的一个小提琴中使用Twitter 的 Bootstrap。由于jsFiddle不提供引导程序作为其预定义库之一,因此我正在寻找缩小的 url。
Is there a free minified URL for Twitter's Bootstrap?
Twitter 的 Bootstrap 有免费的缩小 URL 吗?
回答by G?khan Girgin
have a look at jsfiddle
看看 jsfiddle
@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');
@import url(' http://twitter.github.com/bootstrap/assets/css/bootstrap.css');
UPDATE
更新
import css or js files from external resourcesof jsfiddle
从jsfiddle的外部资源导入css或js文件
you can use bootstrapcdnwith specific version of bootstrap e.g 2.3.2instead of 3.1.1
您可以将bootstrapdn与特定版本的引导程序一起使用,例如2.3.2而不是3.1.1
CSS : //netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css
CSS : //netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css
JS : //netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js
JS: //netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js
working JSFiddlefor v3.1.1
工作的jsfiddle为V3.1.1
回答by Dev
Try http://jsfiddle.net/DTcHh/241/
试试http://jsfiddle.net/DTcHh/241/
using external resources
http://netdna.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css
http://netdna.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js
使用外部资源
http://netdna.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css
http://netdna.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js
** Below Method No More Working but kept if someday something changes**
** 下面的方法不再有效,但如果某天发生变化,则保留**
As of now select jquery 2.1.0 then you will get bootstrap as an option
截至目前,选择 jquery 2.1.0 然后您将获得引导程序作为选项
Bootstrap 3.2.0 Bootstrap 2.3.2
引导程序 3.2.0 引导程序 2.3.2


回答by Quiz
回答by mlctrez
Try this Content Delivery Network url. It has links to the minified CSS and Javascript. http://www.bootstrapcdn.com/
试试这个内容交付网络网址。它具有指向缩小的 CSS 和 Javascript 的链接。 http://www.bootstrapcdn.com/
回答by Primm
Another alternative to jsFiddle for Bootstrap is:
用于 Bootstrap 的 jsFiddle 的另一种替代方法是:

