上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页
摘要: 一、图片(Images) 响应式图片 图片的缩略图 对齐图片 二、代码实例 2.1 响应式图片 通过 Bootstrap 所提供的 .img-fluid 类让图片支持响应式布局。其原理是将 max-width: 100%; 和 height: auto; 赋予图片,以便随父元素一起缩放。 <img 阅读全文
posted @ 2021-09-23 11:30 AnnLing 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 一、排版包括哪些内容 标题(Headings) 自定义标题(Customizing headings) 显示标题(Display headings) 段落突出显示(Lead) 内联文本元素(Inline text elements) 缩写(Abbreviations) 引用(Blockquotes) 阅读全文
posted @ 2021-09-23 11:13 AnnLing 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 六、css布局(CSS Grid) 1、3列(Three columns) <div class="grid"> <div class="g-col-4">.g-col-4</div> <div class="g-col-4">.g-col-4</div> <div class="g-col-4"> 阅读全文
posted @ 2021-09-23 10:50 AnnLing 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 五、水槽(Gutters) 1、水平水槽(Horizontal gutters) <div class="container px-4"> <div class="row gx-5"> <div class="col"> <div class="p-3 border bg-light">Custom 阅读全文
posted @ 2021-09-23 10:40 AnnLing 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 四、列(Columns) 1、对齐(Alignment) 1.1 垂直对齐(Vertical alignment) 所有列整体垂直方向对齐方式: align-items-start 顶部对齐 align-items-center 中间对齐 align-items-end 底部对齐 <div clas 阅读全文
posted @ 2021-09-23 10:39 AnnLing 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 三、网格系统(Grid system) 1、网格点(Grid options) 2、自动布局列(Auto-layout columns) 2.1 等宽度(Equal-width) <div class="container"> <div class="row"> <div class="col"> 阅读全文
posted @ 2021-09-23 10:37 AnnLing 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 二、容器(Containers) 1、容器的网格对比 2、默认容器(Default container) <div class="container"> <!-- Content here --> </div> 3、响应式容器(Responsive containers) <div class="c 阅读全文
posted @ 2021-09-23 10:36 AnnLing 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 一、断点(Breakpoints) 1、可用的断点(Available breakpoints) $grid-breakpoints: ( xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px ); 2、媒体查询(Media 阅读全文
posted @ 2021-09-22 17:23 AnnLing 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 一、删格系统简介 Bootstrap 提供了一套响应式、移动设备优先的流式栅格系统,随着屏幕或视口(viewport)尺寸的增加,系统会自动分为最多12列。它包含了易于使用的预定义类,还有强大的mixin 用于生成更具语义的布局。 官网:https://v3.bootcss.com/css/#gri 阅读全文
posted @ 2021-09-22 14:34 AnnLing 阅读(749) 评论(0) 推荐(0) 编辑
摘要: 一、Bootstrap简介 1、Bootstrap是什么 Bootstrap是由Twitter推出的一个开源的前端开发框架。基于HTML/CSS/Javastrip,代码简介、视觉优美,用来快速开发基于PC及移动端的Web页面,更快速、简洁。 Bootstrap官网:https://getboots 阅读全文
posted @ 2021-09-22 13:51 AnnLing 阅读(1003) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页