Using twitter's bootstrap in jsFiddle

南楼画角 提交于 2019-11-28 08:08:16

have a look at jsfiddle

@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');

UPDATE

import css or js files from external resources of jsfiddle

you can use bootstrapcdn with specific version of bootstrap e.g 2.3.2 instead of 3.1.1

CSS : //netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css

JS : //netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js

working JSFiddle for v3.1.1

Try 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

** 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

Bootstrap 3.2.0 Bootstrap 2.3.2

For Bootstrap 3 with included CSS and JS look at this jsfiddle

CSS: //netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css
JS: //netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js

Upd: add version 3.1.1 and latest version

Try this Content Delivery Network url. It has links to the minified CSS and Javascript. http://www.bootstrapcdn.com/

Another alternative to jsFiddle for Bootstrap is:

http://www.bootply.com/new

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!