Bootstrap
ui框架,定义了很多css样式和js插件;响应式布局;
快速入门
- 下载BootStrap
- 在项目中将这三个文件夹复制
- 创建html页面,引入必要的资源文件
<!doctype html><html lang="zh-CN"><head><!-- 必须的 meta 标签 --><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><!-- Bootstrap 的 CSS 文件 --><link rel="stylesheet" href="static/css/bootstrap.min.css"><!-- 选项 1:jQuery 和 Bootstrap 集成包(集成了 Popper) --><script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script><script src="static/js/bootstrap.bundle.min.js" ></script><title>Hello, world!</title></head><body><h1>Hello, world!</h1></body></html>
响应式布局
栅格系统
