问题描述
我试图在jsfiddle中测试一些包含bootstrap的HTML代码,但是当包含外部css引用时,会出现以下错误:
对于外部CSS文件
这些外部引用托管在外部服务器的某处,但显然它没有被正确调用。
我应该如何调用外部CSS引用或外部javascript?
p>
我认为在jsfiddle上调用外部文件的正确方法是单击左侧面板 External Resources
$ b
在你的情况下,只需键入
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5 /css/bootstrap.min.css
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js
I'm trying to test some HTML code including bootstrap in jsfiddle, but when including external css references, get this error:
For external CSS files use the Resources panel on the left.
Those external references are hosted somewhere in an outside server, but apparently it's not called correctly.
How should I call external css references or external javascripts ?
I think the correct way to call external file on jsfiddle is clicking the left panel External Resources
In your case, just typehttps://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js
这篇关于在jsfiddle上测试Bootstrap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!