怎么引入bootstrap


当前第2页 返回上一页

bootstrap的目录结构如下:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

bootstrap/

├── css/

│   ├── bootstrap.css

│   ├── bootstrap.css.map

│   ├── bootstrap.min.css

│   ├── bootstrap.min.css.map

│   ├── bootstrap-theme.css

│   ├── bootstrap-theme.css.map

│   ├── bootstrap-theme.min.css

│   └── bootstrap-theme.min.css.map

├── js/

│   ├── bootstrap.js

│   └── bootstrap.min.js

└── fonts/

    ├── glyphicons-halflings-regular.eot

    ├── glyphicons-halflings-regular.svg

    ├── glyphicons-halflings-regular.ttf

    ├── glyphicons-halflings-regular.woff

    └── glyphicons-halflings-regular.woff2

最常用的是css/bootstrap.min.css、js/bootstrap.min.js

jquery.min.js可以在JQuery官网下载

最后,在相应文件中引入即可。

优点:确保网络状况不佳的情况下,页面样式依然可以正常显示

缺点:需要提前安装或下载,引用时要考虑路径问题。

以上就是怎么引入bootstrap的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

bootstrap是前端框架吗

bootstrap有哪些插件

bootstrap怎么实现圆角

一招搞定bootstrap警告框

layer和bootstrap的区别

bootstrap基本结构有哪些

什么是bootstrap框架?

bootstrap的常见面试题(总结)

深入浅析bootstrap中的自动定位浮标

layui和bootstrap区别

更多相关阅读请进入《bootstrap》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...