External resources in JSFiddle (Adding Twitter Bootstrap CDN)

前端 未结 4 2098
难免孤独
难免孤独 2020-12-08 06:51

I am trying to replicate my issue with JSFiddle but when needed frameworks not supported natively, I believe I will need to import them from external resources

4条回答
  •  独厮守ぢ
    2020-12-08 07:26

    BootstrapCDN is supported by JSFiddle, you just need to paste in the relevant URLs.

    In the external resource field/box enter each of these URLs* and hit +:

    http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css
    http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js
    

    The result of which is: http://jsfiddle.net/v9ec3/1/

    Which then allows you to post your HTML/CSS/JS as required. Edit away and click update when finished to give you a URL that you can paste anywhere (including here!). Note you don't need to reference it via link.

    ****Note:** The above bootstrap version URLs (2.3.2) are pasted from http://www.bootstrapcdn.com at the time of the question*

提交回复
热议问题