为什么CDN的bootstrap如此强大 [英] Why is bootstrap with CDN so powerful
本文介绍了为什么CDN的bootstrap如此强大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为什么CDN的bootstrap如此强大?
< link href = https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/css/bootstrap.css rel = 样式表 >
< script type = text / javascript src < span class =code-keyword> = https://cdnjs.cloudflare。 com / ajax / libs / jquery / 2.1.1 / jquery.js > < / script >
< script 类型 = text / javascript src = https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/js/bootstrap.min.js > < / script >
我可以使用bootstrap.css来偏移并在阴影区域添加文本使用HTML中的类。
是否可以在一个类中使用2个CSS命令?
引导程序可以执行哪些其他重要操作?
CDN - 控制传递网络有什么作用?
我尝试过:
我尝试列出所有bootstarap.css。太长了,我需要亮点。
解决方案
这是一个 bootstrap教程,您可以自己在线试用: Bootstrap 3教程 [ ^ ]
如果您不想自己下载和托管Bootstrap,可以从 CDN (内容分发网络)中包含它
Why is bootstrap with CDN so powerful?
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/css/bootstrap.css" rel="stylesheet">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/js/bootstrap.min.js"></script>
I can get bootstrap.css to offset and add text in shaded areas using classes in HTML.
Is it that you can use 2 CSS commands in one class?
What other important things can bootstrap do?
What does CDN - Control Delivery Network do?
What I have tried:
I tried listing all of bootstarap.css. It was too long, I need the highlights.
解决方案
Here is a bootstrap tutorial that you can try out online yourself: Bootstrap 3 Tutorial[^]
If you don't want to download and host Bootstrap yourself, you can include it from a CDN (Content Delivery Network).
这篇关于为什么CDN的bootstrap如此强大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文