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

软件网站怎么做潍坊网站建设解决方案

软件网站怎么做,潍坊网站建设解决方案,通许画册设计网站,扬州做网站公司上讲回顾:Bootstrap的手脚架(Scaffolding)提供了固定(fixed)和流式(fluid)两种布局,它同时建立了一个宽达940px和12列的格网系统。 基于手脚架(Scaffolding)之上,Bootstrap的基础CSS(Base CSS)提供了一系列的基础Html页面要素,旨在…

   上讲回顾:Bootstrap的手脚架(Scaffolding)提供了固定(fixed)和流式(fluid)两种布局,它同时建立了一个宽达940px和12列的格网系统。

      基于手脚架(Scaffolding)之上,Bootstrap的基础CSS(Base CSS)提供了一系列的基础Html页面要素,旨在为用户提供新鲜、一致的页面外观和感觉。本文将主要深入讲解排版(Typography),表格(Table),表单(Forms),按钮(Buttons)这四个方面的内容。

  1. 排版 (Typography),它囊括标题(Headings),段落 (paragraphs), 列表(lists)以及其他内联要素。我们可以通过修改variables.less的两个变量:@baseFontSize@baseLineHeight来控制整体排版的样式。Bootstrap同时还用了一些其他的算术方法来创建所有类型要素的margin,padding,line-height等。

        1.1   标题和段落使用常见的html<h*></h*>和<p></P>即可表现,可以不必考虑margin,padding。两者显示效果如图2-1所示:

        

图2-1 标题与段落(Headings&paragraphs)

      1.2  强调(Emphasis).使用<strong>和<em>两个标签,前者使用粗体,后者使用斜体来强调标签内容。请注意<strong>标签在html4中定义语气更重的强调文本;在 HTML 5 中,<strong> 定义重要的文本。这些短语标签也可以通过定义CSS的方式来丰富效果。更多短语标签请参见[1].缩写(abbreviations ).使用<abbr>,它重新封装了该标签,鼠标滑过会异步地显示缩写的含义。引入title属性来显示原文,使用.initialism类对缩写以大写方式显示。

      1.3  引用文字(Blockquotes).使用<blockquote>标签和<small>两个标签,前者<blockquote>是引用的文字内容,后者<small>是可选的要素,能够添加书写式的引用,比如内容作者。如图2-2所示

图2-2 引用(Blockquotes)

代码片段如下所示:

复制代码
<div class="row"><div class="span6 "> <blockquote class="pull-right"> <p>凌冬将至. 我是黑暗中的利剑,长城上的守卫,抵御寒冷的烈焰,破晓时分的光线,唤醒眠者的号角,守护王国的坚盾。</p> 守夜人军团总司令.<small>蒙奇.D.<cite title="">路飞</cite></small> </blockquote> </div> <div class="span6 "> <blockquote > <p>凌冬将至. 我是黑暗中的利剑,长城上的守卫,抵御寒冷的烈焰,破晓时分的光线,唤醒眠者的号角,守护王国的坚盾。</p> 守夜人军团总司令.<small>蒙奇.D.<cite title="">路飞</cite></small> </blockquote> </div> </div>
复制代码

    1.4列表(lists).Bootstrap提供三种标签来表现不同类型的列表。<ul>表示无序列表,<ul class="unstyled">表示无样式的无序列表,<ol>表示有序列表,<dl>表示描述列表,<dl class="dl-horizontal">表示竖排描述列表。图2-3较好显示了这几种列表:

图2-3 列表(lists)

    2.表格(Table).依然使用<table><tr><th><td>等标签来表现表格。主要提供了四个css的类来控制表格的边和结构。表2-1显示了bootstrap的table可选项。

 

名字

Class

描述

Default

None

没有样式,只有行和列

Basic

.table

只有在行间有竖线

Bordered

.table-bordered

圆角和添加外边框

Zebra-stripe

.table-striped

为奇数行添加淡灰色的背景色

Condensed

.table-condensed

将横向的 padding 对切

 

              表2-1 表格选项(Table Options)

     我们可以将这些CSS类结合起来使用,如图2-4所示,显示一个混合的表格:

图2-4 表格(Table)

  代码片段如下所示:

View Code
复制代码
<div class="span8"><form class="form-horizontal"> <fieldset> <div class="control-group"> <label class="control-label" for="focusedInput">Focused input</label> <div class="controls"> <input class="input-xlarge focused" id="focusedInput" type="text" value="This is focused…"> </div> </div> <div class="control-group"> <label class="control-label">Uneditable input</label> <div class="controls"> <span class="input-xlarge uneditable-input">Some value here</span> </div> </div> <div class="control-group"> <label class="control-label" for="disabledInput">Disabled input</label> <div class="controls"> <input class="input-xlarge disabled" id="disabledInput" type="text" placeholder="Disabled input here…" disabled> </div> </div> <div class="control-group"> <label class="control-label" for="optionsCheckbox2">Disabled checkbox</label> <div class="controls"> <label class="checkbox"> <input type="checkbox" id="optionsCheckbox2" value="option1" disabled> This is a disabled checkbox </label> </div> </div> <div class="control-group warning"> <label class="control-label" for="inputWarning">Input with warning</label> <div class="controls"> <input type="text" id="inputWarning"> <span class="help-inline">Something may have gone wrong</span> </div> </div> <div class="control-group error"> <label class="control-label" for="inputError">Input with error</label> <div class="controls"> <input type="text" id="inputError"> <span class="help-inline">Please correct the error</span> </div
http://www.lbrq.cn/news/2433133.html

相关文章:

  • 免费制作公司网站重庆网站排名
  • 奇搜建设辽沈阳网站查权重网站
  • 济源网站制作营销方案ppt
  • 郑州网站建设方案服务公司培训网站源码
  • 事业单位网站建设计划网络营销推广的特点
  • 山东大良网站建设贵阳网站建设公司
  • 根据网站做app网络营销图片素材
  • 微商自己做网站海外域名
  • 有哪些可以做外链的网站百度入口官网
  • 天河区门户网站教育专栏微信腾讯会议
  • 做网站的 视频国内建站平台
  • 政府网站建设构想提升神马seo关键词自然排名
  • 做竞猜网站犯法吗无锡seo公司找哪家好
  • 网站霸词怎么做关键词优化和seo
  • 有哪些做留学资讯的网站乔拓云网站注册
  • 党建网站建设技术方案搜索引擎优化工作
  • zblog 仿wordpressseo基础
  • 青海互动网站建设百度首页纯净版
  • 专业网架加工广西seo搜索引擎优化
  • 阿里云 wordpress建站推广软件的app
  • 做网站设计注意什么细节开通网站需要多少钱
  • 创建小型网站的步骤网页广告调词平台
  • 网页设计教程文字与图片广州网站设计专注乐云seo
  • 嘉兴网站制作案例百度快速优化推广
  • 网站 建设 内容 安排免费留电话的广告
  • 网优 是什么网站五年级上册语文优化设计答案
  • 焦作会计做继续教育在哪个网站建网站有哪些步骤
  • 企业网站报价方案模板下载搜索推广渠道有哪些
  • 学网站开发培训机构全网关键词搜索工具
  • 四川城乡建设委员会官方网站关键词首页排名优化
  • 低成本、高泛化能力的无人机自主飞行!VLM-Nav:基于单目视觉与视觉语言模型的无地图无人机导航
  • MCU中的总线桥是什么?
  • Elasticsearch安装指南
  • PHP 文件上传
  • Linux学习之Linux系统权限
  • 在服务器无网络的环境下安装 VS Code Remote-SSH 组件