本文介绍了在jsfiddle上测试Bootstrap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在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.csshttps://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js

Jsfiddle Template

这篇关于在jsfiddle上测试Bootstrap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 16:10