当前位置: 首页 > wzjs >正文

菏泽做网站网盘app下载

菏泽做网站,网盘app下载,诸暨公司网站建设,网站交易Bootstrap V4 学习入门教程之 页面内容排版 按钮上的指针排版一、Global settings 全局设置二、Headings 标题2.1 Customizing headings 自定义标题2.2 Display headings 显示标题2.3 Lead 引导 三、Blockquotes 块引用3.1 Naming a source 命名源3.2 Alignment 对齐 四、Lists…

Bootstrap V4 学习入门教程之 页面内容排版

  • 按钮上的指针
  • 排版
    • 一、Global settings 全局设置
    • 二、Headings 标题
      • 2.1 Customizing headings 自定义标题
      • 2.2 Display headings 显示标题
      • 2.3 Lead 引导
    • 三、Blockquotes 块引用
      • 3.1 Naming a source 命名源
      • 3.2 Alignment 对齐
    • 四、Lists 列表
      • 4.1 Unstyled 无样式
      • 4.2 Inline 内联
      • 4.3 Description list alignment 描述列表对齐

按钮上的指针

页面内容样式的设置包括对role=“button”的增强,可以将默认光标更改为指针。将此属性添加到元素中,以帮助指示元素是交互式的。<button>元素不需要此角色,因为它们会自己更改光标。

<!-- Pointers on buttons -->
<span role="button" tabindex="0">Non-button element button</span>

页面展示效果:

在这里插入图片描述

排版

Bootstrap排版的文档和示例,包括全局设置、标题、正文、列表等。

一、Global settings 全局设置

  • 使用本机字体堆栈,为每个操作系统和设备选择最佳字体系列。
  • 为了获得更具包容性和可访问性的字体比例,我们使用浏览器的默认根字体大小(通常为16px),以便访问者可以根据需要自定义浏览器默认值。

二、Headings 标题

所有HTML标题,从<h1>到<h6>,都是可用的。

<h1>h1. Bootstrap heading</h1>
<h2>h2. Bootstrap heading</h2>
<h3>h3. Bootstrap heading</h3>
<h4>h4. Bootstrap heading</h4>
<h5>h5. Bootstrap heading</h5>
<h6>h6. Bootstrap heading</h6>

.h1.h6类也可用,用于当您想匹配标题的字体样式但无法使用相关的HTML元素时。

<p class="h1">h1. Bootstrap heading</p>
<p class="h2">h2. Bootstrap heading</p>
<p class="h3">h3. Bootstrap heading</p>
<p class="h4">h4. Bootstrap heading</p>
<p class="h5">h5. Bootstrap heading</p>
<p class="h6">h6. Bootstrap heading</p>

页面展示效果:

在这里插入图片描述

2.1 Customizing headings 自定义标题

使用附带的实用程序类从Bootstrap 3中重新创建小的次要标题文本。

<h3>Fancy display heading<small class="text-muted">With faded secondary text</small>
</h3>

页面展示效果:

在这里插入图片描述

2.2 Display headings 显示标题

传统的标题元素旨在在页面内容中发挥最佳作用。当你需要一个突出的标题时,可以考虑使用一个显示标题——一种更大、稍微更有主见的标题风格。请记住,这些标题默认情况下不是响应式的,但可以启用响应式字体大小。

<!-- Display headings -->
<h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>

页面展示效果:
在这里插入图片描述

2.3 Lead 引导

通过添加.lead使段落突出。

<p class="lead">This is a lead paragraph. It stands out from regular paragraphs.
</p>

页面展示效果:

在这里插入图片描述

三、Blockquotes 块引用

用于引用文档中其他来源的内容块。将<blockquote class=“blockquote”>包裹在任何HTML周围作为引号。

<blockquote class="blockquote"><p class="mb-0">A well-known quote, contained in a blockquote element.</p>
</blockquote>

页面展示效果:
在这里插入图片描述

3.1 Naming a source 命名源

添加一个<footer class=“blockquote footer”>来标识源。将源代码的名称括在中。

<blockquote class="blockquote"><p class="mb-0">A well-known quote, contained in a blockquote element.</p><footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote>

页面展示效果:

在这里插入图片描述

3.2 Alignment 对齐

根据需要使用文本实用程序更改的块引用对齐方式。

<!--居中对齐-->
<blockquote class="blockquote text-center"><p class="mb-0">A well-known quote, contained in a blockquote element.</p><footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote>

页面展示效果:
在这里插入图片描述

<!--右对齐-->
<blockquote class="blockquote text-right"><p class="mb-0">A well-known quote, contained in a blockquote element.</p><footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote>

页面展示效果:

在这里插入图片描述

四、Lists 列表

4.1 Unstyled 无样式

删除默认列表样式和列表项的左边距(仅限直接子项)。这仅适用于直接的子列表项,这意味着您也需要为任何嵌套列表添加类。

<ul class="list-unstyled"><li>This is a list.</li><li>It appears completely unstyled.</li><li>Structurally, it's still a list.</li><li>However, this style only applies to immediate child elements.</li><li>Nested lists:<ul><li>are unaffected by this style</li><li>will still show a bullet</li><li>and have appropriate left margin</li></ul></li><li>This may still come in handy in some situations.</li>
</ul>

页面展示效果:

在这里插入图片描述

4.2 Inline 内联

删除列表的项目符号,并使用.list-inline内联和.list-inline-item内联项这两个类的组合应用一些小边距。

<ul class="list-inline"><li class="list-inline-item">This is a list item.</li><li class="list-inline-item">And another one.</li><li class="list-inline-item">But they're displayed inline.</li>
</ul>

页面展示效果:

在这里插入图片描述

4.3 Description list alignment 描述列表对齐

使用网格系统的预定义类(或语义混合)水平对齐术语和描述。对于较长的术语,您可以选择添加.text truncate类,用省略号截断文本。

<dl class="row"><dt class="col-sm-3">Description lists</dt><dd class="col-sm-9">A description list is perfect for defining terms.</dd><dt class="col-sm-3">Term</dt><dd class="col-sm-9"><p>Definition for the term.</p><p>And some more placeholder definition text.</p></dd><dt class="col-sm-3">Another term</dt><dd class="col-sm-9">This definition is short, so no extra paragraphs or anything.</dd><dt class="col-sm-3 text-truncate">Truncated term is truncated</dt><dd class="col-sm-9">This can be useful when space is tight. Adds an ellipsis at the end.</dd><dt class="col-sm-3">Nesting</dt><dd class="col-sm-9"><dl class="row"><dt class="col-sm-4">Nested definition list</dt><dd class="col-sm-8">I heard you like definition lists. Let me put a definition list inside your definition list.</dd></dl></dd>
</dl>

页面展示效果:

在这里插入图片描述


文章转载自:

http://wKkUDCWq.nytgk.cn
http://shjN8bme.nytgk.cn
http://97l74I4l.nytgk.cn
http://SAI1kkmk.nytgk.cn
http://46fPHJC0.nytgk.cn
http://hQm18iFI.nytgk.cn
http://JXQrHAV5.nytgk.cn
http://T0JMJYMh.nytgk.cn
http://BqlC58dM.nytgk.cn
http://XgwOqPqV.nytgk.cn
http://r9I4F1o6.nytgk.cn
http://P0WLnDKg.nytgk.cn
http://4mWmQkn6.nytgk.cn
http://Y3tbFilp.nytgk.cn
http://6ut1Jt2D.nytgk.cn
http://P88Oth2o.nytgk.cn
http://b2x6YXke.nytgk.cn
http://HhRvutqK.nytgk.cn
http://J979xJts.nytgk.cn
http://mmH1AzKM.nytgk.cn
http://zcrMEtxU.nytgk.cn
http://Sx59gvFy.nytgk.cn
http://Fog0xl4D.nytgk.cn
http://Ik3ZWvBh.nytgk.cn
http://3RPIFKDV.nytgk.cn
http://DGbywZW1.nytgk.cn
http://cDozQMSJ.nytgk.cn
http://aNBNrSQ0.nytgk.cn
http://gnhyHA23.nytgk.cn
http://jXgwIsD3.nytgk.cn
http://www.dtcms.com/wzjs/679550.html

相关文章:

  • 个体户怎么做购物网站白酒最有效的推广方式
  • 网站建设中 请稍后访问怎么做彩票平台网站
  • c语言网站建设网站建设项目登记表
  • html视频网站源码网站建设合同技术开发合同范本
  • 杭州企业网站房屋装修网
  • 网站流量盈利域名注册后网站建设
  • 做淘宝网站的编程实例厦门工程建设招聘信息网站
  • 手机网址进不去怎么设置家居seo整站优化方案
  • 加强社区网站建设工程设计东莞网站建设技术支持
  • wordpress手机版怎么注册类聚seo
  • 网站备案与域名关系外贸流程的基本流程图
  • win7iis添加网站网站排名优化策划
  • 云南建设工程质量监督网站移动互联网开发学什么专业
  • 山东金融行业网站开发小程序企业网站源码
  • 济阳做网站多少钱商标注册网址官方
  • 网站建设设计工具郑州发布最新通知
  • 乌兰县wap网站建设公司finecms
  • 学校网站 aspx源码广州有什么好玩的
  • 网站框架是什么十大免费引流平台
  • 购物网站名称网站更换空间对优化的影响
  • 制作公司网站的作用怎样做微课网站
  • 怎样做微信网站怎么做网站浏览量分析
  • 织梦末班和dw建设网站哪个方便优化wordpress 4.7.2 中文
  • 嘉定品牌网站建设做h5商城网站
  • 响应式网站怎么设置天津专业网站设计报价
  • 无锡网站定制公司高校邦营销型网站建设答案
  • 中国网站建设公司图片淘宝电脑版官网首页
  • 东莞做网站软件设计网站排行
  • 大发快三网站自做网络运营培训哪里有学校
  • 住建培训网站河南智慧团建登录入口