这里想总结些编写网页的经验,以PC端的为主,前面总结过后台的,今天写些前台的,参考了bootstrap3.3.5bootstrip2.3.2和模版matrix

前段时间还写过一篇《前端基础学习分享》,比较基础的文章。

每次写CSS,总感觉不用写那么多CSS,但是精简的时候, 又难以下手。越写越觉得代码越来越多,越来越乱,所以这次我打算整理出一套比较灵活的结构,供以后使用。

CSS应该也可以像其他那些语言写的有层次,有结构。

一、规划

1)在拿到psd效果图后,我会将所有的效果图看一遍,然后开始打草稿,在纸上画,在PS中标注都可以。一般都是做个大概的统计,太详细不太现实,既费时间也费精力。

2)网站的浏览器兼容性要顾及到哪些,IE6,IE7还是IE8以上等,点击查看浏览器分布情况。写CSS的时候还得照顾下低版本的浏览器。

3)页面中的字体大小有几种;颜色有几种;超链接的:visit,:hover,:visit样式有几种

4)网站中有多少个小图标,是否可以用现有的字体库替代小图片

5)网站中是否用到了表格table,有哪几种表格款式,能否做出抽象

6)有几种按钮款式,扁平的、3D的还是啥样的

7)写些通用点的宽度与位移类,要能与其他地方配合,例如表单,文本等

8)表单中是横排的还是竖排的;输入框是怎么样的;下拉框单选框多选框又是啥样的,有些高逼格的网站无法忍受下拉框等的默认样式,那就得美化;颜色有几种

9)需要哪些辅助类,比如情境背景色等

10)网站可以抽象出许多可复用的组建,例如分页、错误页面等

11)CSS也可以有面向对象的思维,将通用的结构抽象出来,做成一个基类。

12)开发的时候将CSS手册打开,一些周边的在线网站准备好,例如CSS参考手册webkit css library - 属性速查CSS3样式生成器等。

二、低版本浏览器支持

以IE6、IE7为代表的一些低版本的浏览器很多CSS3、HTML5都不支持,有些伪类也不支持,例如:before等。这个时候就要做些兼容的操作。

1、modernizr.js

  Modernizr 是一个用来检测浏览器功能支持情况的 JavaScript 库。 目前,通过检验浏览器对一系列测试的处理情况,Modernizr 可以检测18项 CSS3 功能以及40多项关于HTML5 的功能。可自定义脚本下载。使用了这个插件后,在html标签中会显示class,如下图所示,如果不支持某个CSS3,就会以“no-”开头。这样做的 话,就能优雅降级,在不支持这种样式的时候,换成另外一种样式。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA2AAAABGCAIAAAAl7WBFAAAeo0lEQVR4nO2d/24cx5GA543mifo9FpDkGIkOYMPQGTpJpHnKSbCzgOAwiporm9aP8KxQtKUTYys2h6EinORIcSIICeXYMpx17HPdHzPT011V3T2zO0suzfpgGORqtrq7uqq6pqc5lYEgCIIgCIIgOGQH3QFBEARBEARhvpAEURAEQRAEQfCQBFEQBEEQBEHwkARREARBEARB8OgjQRxvXvzJ6at/6UHSQfLy8X+vXP34oHshCIIgCIJw4EyYIL7cvjHafFr9snnxlVNXHgEA7K2dHQwGg8Hg2InX3rz9DADg5f0r504eHwyOn7q8Pa4/+LcTxwbHTvz0P1YfjG9feGVgWV7/+NLJwWDw+uqTUtTJS6Phzwa1zH+/vD22TVRfIF3bWzs7+NlwC3367J1LZRdZdlb0YOB868vN1atlbwVBEARBEI4cEySIz7ZuvLv5sEmfHlw+de76Xvnzk9VzF26PYfzid5f0a5cfwKPVpTNXfvdiDC8/fFNf3ITx9sqZpXeKF2MYv/jwrUvrj26srj8d76ycHW7B+O47azvw7J3TSzfHAOPt1ZWbT8cAmxfPXHkEAOMXN//z1MpO3QTA+OnN87+4Rfv3ZPXcxU3vk/HTm8unV3aio0LfGm9fvXzrWXflCIIgCIIgHHq6JYjjp1vXrm0+9fbWxjeXl9erT/bWlsvkDeDuW2cvf3z9/Pn1vfqfzp2/tbNybrhFdub83Gxn5fWLm89uXa628LaGZ1d2AODl4+vLp1d2YG/t3PL6GMZbly6ts3t8e2tLr58//9qJY4PjSzf3AJ6svl7vN55d24OdFT04ubBw/NhrZ8789NjxCxu2e8tI3s7VlXVJEQVBEARBOHp0SRD/99rlG49JUra18naVE8J4/fz5Kst6dGVpeHttuUn8Ni8ur90eLjHPeffcywBga6gX3qx378qHv+Uz698+HcN4fflYk+0xjNfPnxpuPn4J22+fqsU+WV22T4/31paXrj+9//bZt+6+uLlUC3F67oj6yFze/EdKK4I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xfr/G9o0CeTHSIsRnnWzwsR5T2Ih5SkNwrCjKFZ7JHgSLpe8ycFNSqcWxxxDoVfzGMnp/YsRbLPDondflGM8mwhtDMwb0iCKAiCIAiCIHhIgigIgiAIgiB4SIIoCIIgCIIgeEiCKAiCIAiCIHhIgigIgiAIgiB4SIIoCIIgCIIgePSTIP7uwZ9fvXBj8Ma77n+vXrh+p/hTL/IFQRAEQRCEfaOfBPHVCze+/ue3P/zww/ffffft+Juvv/rHF3vPnzx5/OqF673IFwRBEARBEPaNfhLEwRvv/t/33//r2/E3X3+VZdnfn3/+7M+Pnj7+w+CNd1Nf3VBqA1Ad+S7ovHoRplHDQ/LuSUEQBEEQhLmmtwTxn998/dWXe3t/+2uWZZ9/9sfPHn7ycOdeIkEsRnlTW2bSqgRNidEN1VN5GUEQBEEQhKNMbwniF3vPM59Pt96PJYjFKM/dcoRVjUda+rXK+Ww5yroykC3D6JTS6adAtSAIgiAIwlGmtwSxfKb86MH9LMu2P/rt/Ts37m1cDSaIZugWrganZrdRYMDdFwTtfm7r1xeQ13XMlVdrcVfnh6bQoSAIgiAIwhzSW4L42cNPHhb3du7fzrJsa3Ptzvvmg9/8Kr6DqJ00zj5irhJBp2y33VNU9SflBVUWiBJEM5IdREEQBEEQhGnoJ0H8yX9d+/1Hm59uvf/RB9fu3lr9cP3Xt2/8cv29lRM/fy/yLaOarT6cIOJ9QVCZv4No6ifLxnnEbIaZ2uhlRIIgCIIgCEeW/wf68jnPAQSoSwAAAABJRU5ErkJggg==" alt="" />

2、respond.js

  Respond.js是一个快速、轻量的 polyfill,用于为 IE6-8 以及其它不支持 CSS3 Media Queries 的浏览器提供媒体查询的 min-width 和 max-width 特性,实现响应式网页设计。

三、基本的CSS设置

1、CSS的reset

重新默认样式,这个肯定有必要。参考了HTML5 Boilerplate。模版里的CSS注释是洋文的,自己翻译了一些。

/**
* HTML5标签 在IE 8 / 9没有定义。
* 在IE 10/11 Firefox 中没有定义`details` or `summary`
* 在IE 11中没有定义main
*/
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary {
display: block;
} figure,menu{
margin:0;
padding:0;
} ul,ol{
padding:0;
list-style-type:none;
} h1,h2,h3,h4,h5,h6,p,ul,ol,form,dl,dt,dd,li{
margin:0;
}
.......

2、CSS的通用样式

1)左浮动,有浮动,清浮动;左对齐,右对齐,居中;字体粗细,加粗,斜体,普通等;宋体、雅黑字体等

2)position定位,相对定位,绝对定位等;display属性,block、inline、inline-block等

3)overflow属性,有hidden、scrolldeng;zoom属性;cursor属性;text-decoration属性

4)margin的四个方向;padding的四个方向

.l{float:left;}.r{float:right;}.cb{clear:both;}
.n{font-weight:normal; font-style:normal;}.b{font-weight:bold;}.i{font-style:italic;}
.fa{font-family:Arial;}.fg{font-family:Georgia;}.ft{font-family:Tahoma;}.fl{font-family:Lucida Console;}.fs{font-family:'宋体';}.fw{font-family:'微软雅黑';}.fe{font-family:'serif';}
.tc{text-align:center;}.tr{text-align:right;}.tl{text-align:left;}
.rel{position:relative;}.abs{position:absolute;}.fixed{position:fixed;}
.db{display:block;}.dib{-moz-inline-stack:inline-block; display:inline-block;}.di{display:inline;}.dn{display:none;}
.ovh{overflow:hidden;}.ovs{overflow:scroll;}.vh{visibility:hidden;}.vv{visibility:visible;}
.z{_zoom:1;}.zoom1{*zoom:1;}
.mt5{margin-top: 5px;}.mt10{margin-top: 10px;}.mt15{margin-top: 15px;}.mt20{margin-top: 20px;}
.mr5{margin-right: 5px;}.mr10{margin-right: 10px;}.mr15{margin-right: 15px;}.mr20{margin-right: 20px;}
.mb5{margin-bottom: 5px;}.mb10{margin-bottom: 10px;}.mb15{margin-bottom: 15px;}.mb20{margin-bottom: 20px;}
.ml5{margin-left: 5px;}.ml10{margin-left: 10px;}.ml15{margin-left: 15px;}.ml20{margin-left: 20px;}
.pt5{padding-top: 5px;}.pt10{padding-top: 10px;}.pt15{padding-top: 15px;}.pt20{padding-top: 20px;}
.pr5{padding-right: 5px;}.pr10{padding-right: 10px;}.pr15{padding-right: 15px;}.pr20{padding-right: 20px;}
.pb5{padding-bottom: 5px;}.pb10{padding-bottom: 10px;}.pb15{padding-bottom: 15px;}.pb20{padding-bottom: 20px;}
.pl5{padding-left: 5px;}.pl10{padding-left: 10px;}.pl15{padding-left: 15px;}.pl20{padding-left: 20px;}
.cursor-pointer{cursor:pointer;}
.line-del{text-decoration:line-through;}

3、工具样式

1)清除浮动  2)强制换行  

3)两边对齐等样式  4)单选框复选框文字对齐  

5)截断文本,多出的文字显示...  6)小三角显示

.input_align{vertical-align:-3px;}/*单选框复选框文字对齐*/
.interception{white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow:hidden;}/*多出的显示...*/
.br{word-wrap:break-word;word-break:break-all}/*强制换行*/
.same_height{margin-bottom:-3000px; padding-bottom:3000px}/*两边齐平*/
.fix{*zoom:1;}
.fix:after,.fix:before{display:block; content:"clear"; height:0; clear:both; overflow:hidden; visibility:hidden;}/*清浮动*/
.min_fix{overflow:hidden;_zoom:1}
/**
* 小三角
* 纯色的就用一个,如果不是纯色的就用两个重叠再绝对定位
*/
span[class^="triangle-"]{
content: '';
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.triangle-top{
border: solid transparent;
border-width: 10px;/*宽度自定义*/
border-top-color: #821134;/*四个方向 需要显示那个位置的就设置*/
}

4、视网膜屏幕(Retina)

现在的手机,或苹果电脑等,屏幕都是Retina屏的,高清分辨率,就要做单独处理了。下面的属性参考了bootstrap

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
.css{
/*background-image: url(img_2x.png);*/
}
}

5、移动端CSS

这里简单的介绍下移动端的开发。在这篇《移动web资源整理》的文章中有更多详细的说明,我里面的代码也是参照这篇文章修改的。

<!-- 页面自动调整到设备宽度,并禁止用户缩放页面-->
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<!-- 忽略将页面中的数字识别为电话号码 -->
<meta name="format-detection" content="telephone=no">
<!-- 忽略Android平台中对邮箱地址的识别 -->
<meta name="format-detection" content="email=no">
<!-- 当网站添加到主屏幕快速启动方式,可隐藏地址栏,仅针对ios的safari
ios7.0版本以后,safari上已看不到效果
-->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- 将网站添加到主屏幕快速启动方式,仅针对ios的safari顶端状态条的样式 -->
<!-- 可选default、black、black-translucent -->
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- 去除winphone系统中a、input标签被点击时产生的半透明灰色背景 -->
<meta name="msapplication-tap-highlight" content="no">
<!-- iOS 设备的桌面图标 -->
<link rel="apple-touch-icon" href="apple-touch-icon.png">

四、字体ICON

1、自定义字体

1)以前的icon基本都是用图片sprite技术,现在有了自定义字体,在高版本的浏览器中可以替代图片了。这里我选用了Font-Awesome,有400多个图标可以选择。

2)下载后,稍微修改下那个CSS。第二个样式使用了属性选择符,这样的话只要是“fa-”开头的就是会显示字体。

3)可以直接引用字体库的CSS,也可以按需引用,写到自己的CSS文档中。

4)这里顺便介绍下Simple Icons,收集众多网站的Logo,并提供高质量、不同尺寸的png格式图片给广大网友。里面是图片,不是字体。

@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome-webfont.eot?v=4.3.0');
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}
.fa, i[class^="fa-"]{
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transform: translate(0, 0);
}

2、h1--h6标签

这里参考了bootstrap中对这几个标签的重置,设置标题、副标题等可以用到,不然老是用p标签加字体大小,页面中的标签就太不丰富啦。

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
font-family: inherit;
font-weight: 500;
line-height: 1.1;
color: inherit;
}
h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,
.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,
h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,
.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small {
font-weight: normal;
line-height: 1;
color: #777;
}
h1,.h1,h2,.h2,h3,.h3 {
margin-top: 20px;
margin-bottom: 10px;
}
h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,
h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small {
font-size: 65%;
}
h4,.h4,h5,.h5,h6,.h6 {
margin-top: 10px;
margin-bottom: 10px;
}
h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,
h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small {
font-size: 75%;
}
h1,.h1 {font-size: 36px;}
h2,.h2 {font-size: 30px;}
h3,.h3 {font-size: 24px;}
h4,.h4 {font-size: 18px;}
h5,.h5 {font-size: 14px;}
h6,.h6 {font-size: 12px;}

五、表格

网站中或多或少会用到些表格结构,关于表格的一些属性,我在文章《关于table的一些记录》中做过记录。

实际应用中的表格是多种多样的,绝不是bootstrip模版中的几个样式所能摆平的,但模版中的思路可以借鉴,将样式抽象出来做到复用。

在CSS中单独开辟一段专门给表格的样式区域。

1、加.table样式

1)表格内的单元格是居中,居左还是居右可根据实际情况来定。

2)准备了三个对齐类.tr、.tc和.tl

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAw0AAACpCAIAAADm5kbSAAANCUlEQVR4nO3dwZGjyLqA0fEJ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Q00kAADGdBAAQ00kAADGdBAAQ00kAADGdBAAQ00kAADGdBAAQ00kAADGdBAAQ00kAADGdBAAQ00kAADGdBAAQ00kAADGdBAAQ+z863J/7VFqnewAAAABJRU5ErkJggg==" alt="" />

2、条纹状网格.table-striped

1)这里是依赖:nth-child CSS 选择器实现的,这样就会有兼容性的问题,IE8浏览器及以下的都不支持

2)但可以写的普通点,就是在偶数或单数的tr上面单独加样式

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAvgAAACcCAIAAACFukjRAAAM+klEQVR4nO3dPY7iSqOA4d6Tl+Al8LOA0awAYZGPNDmSpV7A5B04YBckDgiPRMIiOuobGEz5B2xafA3UfZ6MM0yfDlzFW+Uy8/YFABCpt0f/AgAA/ytCBwCIltABAKIldACAaAkdACBaQgcAiJbQAQCiJXQAgGgJHQAgWkIHAIiW0AEAoiV0vmOTr5IkeS92X19fX1+7eZKs8k39R/Pl++mNu3lyTfBOeFGH1TRNkvlxMBTvSZJuykP9R6dhUv3RNfU74UUdyk0aTOzvy3k6XR3OfzSvL/H35cCHg8FwR0LnO8LQ2eT5cjmvJvfqKm81UH2hh1rjAV5WGDqHPP9bX/PVMGk20HlJEGquHOq/eFHvD4GHCyf2Q7n5u1yeLtdqmDQaKFgSNH5GuHIYXC1bIYwhdG5Tp8yxupulUkV6cNkJHWLWKpLmhFtN0OeF6fjQgRd0TJneLZnq4g8n/NGhwx0Ine8IgqY/t09x49YV0TsHzaWbU1XcuHVF9MKguXBz6hg3bl39JKHzDcd8GTEv29Ehcqd8GZ6X7egQvSpfxkzsdnR+ktC5Wb1dP51Oh84KjAqdwZWuxudZ1dv16XQ67Zu1z4QOcasPNqTT6bRv2g8JnZ8kdG7Vvht1tXXcuiJmnUbvnbgvvblN6PDSWnejepe4l958ZVl7/Wz+9f8LFaFzm02+SpJ0ufydJMlyuUynq7J5PLk5Zbt1RcQOq2maTn//nqZJMl8u56t80zcp3/zUFbycakr/vVweB0OSbsqyeTw5Sb7z1BV3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Lq5N08XiV++8D6/iFDpVxDSOGM8WeR061YfFtcEw+fWr8RPgR4VPXbWjuzqgsO4cRu5NGScSiMLxqavu9mSxzmaLP93DyH0p40QCMaifuurM7ftskv5ZrzuHkXtSxtlNHq7nqauW7lNXQod4XW+UnqeuhA6xut4ofU9dCR2e0XdCxyEy4nVz6FzarQ+PJ18aMn3vh2dxe+hcunUldHiki6ETfFVUYwq2o0PU+kOn/lLN5pRtR4eYXQid85dqhnP+mB2dcV+vnzjNw335Rz0BgGgJHQAgWkIHAIiW0AEAoiV0AIBoCR0AIFpCBwCIltABAKIldACAaAkdACBaQgcAiNbbFwBApIQOABAtoQMAREvoAADREjoAQLSEDgAQLaEDAERL6AAA0RI6AEC0/g+kFyjr9c661AAAAABJRU5ErkJggg==" alt="" />

3、带边框的表格.table-bordered

1)就是给td、th加上border属性。

2)注意标题下面的border是2像素,这些都可以找到相应的代码自定义。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxEAAACtCAIAAABA5WWiAAAPq0lEQVR4nO3dwXHqyroG0JuTQlAKKkXgEFSlCE4EVBHAzYCBAjghMGD4hsTBG8gWjRCWaLAs33+tGdtsyoOvW1+3Wvg/FwAA5vznt38BAIA/QGcCAJinMwEAzNOZAADm6UwAAPN0JgCAeToTAMA8nQkAYJ7OBAAwb6Iz/R8AQAyvdqb8DgZ/mfATk+QTls4EmYSfmCSfsHQmyCT8xCT5hKUzQSbhJybJJyydCTIJPzFJPmHpTJBJ+IlJ8glLZ4JMwk9Mkk9YOhNkEn5iknzC0pkgk/ATk+QTls4EmYSfmCSfsHQmyCT8xCT5hKUzQSbhJybJJyydCTIJPzFJPmHpTFtwqouirNrz5XK5XLpdWxT16fqjsjv2P+l/9I3rO1mB8L/udNgXRdHuusvlcrmc26qsm/3wo2FQ9D/6LvrXd/LjJP8t9k09TNrnY1cWxf5wGn70NSg+f/SN4Z2sQGfagrQznf5pmrIo+ivHvqmLcZ26jqtUOvxYh/C/Lu1Mp8N/m+bjK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bWm9qXcz0B2Ry7Lsq1b/qygW3mdhUoSfsISfmfnxO1/9PcnmpVqkfHVw9u1oynsn5mAShJ+whJ+Zufadr57Dk/9mgNkQfsISfmZm9Pbz1f6nGWByBg//2R91aFi4Ee78zMww7ad7+nu4L2oFwJwIP2ENHv4Lq78TQozEbzkFAGLRfgCAWLQfACAW7QcAiEX7AQBi0X4AgFi0HwAgFu0HAIhF+wEAYtF+AIBYtB8AIBbtBwCIRfsBAGLRfgCAWLQfACAW7QcAiOX/JoWYOBG79LcAAAAASUVORK5CYII=" alt="" />

5、颜色状态

1)有时候要给标题栏或内容栏给定不同的颜色,这里做了几个示例颜色

2)实际情况可能就是几种完全不同的颜色

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxEAAADjCAIAAAB1tw6+AAANrklEQVR4nO3cz2tc19nA8f5P5x+Q5b2ckRRt+m7KWyjWKxwcD/a6yCQEu0ZOiVdaiBoSCEbYhMSLBEJRshBGhBIETUDKwngZCAHRLAJ6F1cej+fXo1pz78w95/PlszFSS2yeM37OzJX/cCpJkqSoP8z6P0CSJKkF2ZkkSZLi7EySJElxdiZJkqQ4O5MkSVKcnUmSJCnOziRJkhRnZ5IkSYqzM0mSJMXZmSRJkuLsTJIkSXF2piY6fPIgpXTr75+fnp6enr64tXp5rfug96XLq7denH3ji1url9P4+r5TakeGX8Vm+PPLztRE/Sfn8Mk/ut0/p5QePDk8PT1cS2ngUKW0djjq/2PNyVELq2H4z/6H4xv5fyI13dSH/8W/Pp+0W6WU0uXP/+VviRqzM9Xda6/vA0vP53+/1XdsTu1MyivDr2Iz/HlmZ2qivhMy7j3Y6rR4h1a5ZfhVbIY/v+xMDXR2HvpuFZO/021D2WT4VWyGP8PsTLVXfaSdUlpdXe09ADimc52cc3ykfXY58cG2ZtvUh19qS4Y/y+xMdTf4puvEw+MdWuWU4Vex1TX8D7qTfgQiWs500exM9VZdNbrdbkrpz93u5bR2OOqnfvzcnPLL8KvYDH+u2Znq7nAtrT157V/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QAnsTAAAMTsTAEDMzgQAELMzAQDE7EwAADE7EwBAzM4EABCzMwEAxOxMAAAxOxMAQMzOBAAQszMBAMQa2pkebW7c2Nw5x3d+uZrS6tX3Zv7nAtNi+CnWVIZ/62onTWxxaePHWf9OKcSMd6Yfn+4sTj4NKaW08Ojp/sz/pODNTGX4H21uTP4+yxZzyCs/malrZwpvBtVB+vHpzvLLK8LW1U7vdf/Z9nspdZ4dH/96vH9jacnJoUUMP8Uy/OStxp2p/3ox8MuBy0d1h76xufPr8f6NpYXq/FQXEW+60jqGn2IZfvLWzM60f2NpYWv7y95X+07Oq6PS+0h74Nrh8NAuhp9iGX7y1sTONHxvGP6Q+9n2e723bX89u39U79BW9m8sLcQff7udMAemPfzQGnUMf/Twk8eeaE4DO9P+jaWFG5s7jzY3+h9oHThXo/6S+HLVDkQLGX6KZfjJW707U3UqXn++L21tf9k7OdUDg8tLS+NuEH+6enXRzwTRKoafYhl+8lbjzjTyXdMfn+4sps7fhp4EHHk2Bp4fhFYw/BTL8JO3et9nGvfV4Z+ecHLIhuGnWIafvM3LzjTuHVonh9aZ+vCH/6Clw8Kc8MpP3hrdmapPtYffuXXbICeGn2JNffjPeWHw5BPNqGtnAgDIiZ0JACBmZwIAiNmZAABidiYAgJidCQAgZmcCAIjZmQAAYnYmAICYnQkAIGZnAgCIXWhnkiRJkp1JkiQpzs4kSZIUZ2eSJEmKszNJkiTF2ZkkSZLi/h/gqgbj9s0jJAAAAABJRU5ErkJggg==" alt="" />

1)根据实际情况可以组合运用

2)也可以自定义自己实际项目中的样式,组合也行,单独使用也行

六、按钮

1)这里还是参照bootstrip的按钮做demo。

2)如果模版中没有合适的,可以点击Buttons网站,一个开源的按钮CSS样式库,款式众多,也可自定义,总有一款适合你吧。

3)有三种标签可以做成按钮,<a>、<button>和<input>

1、普通样式按钮

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAw0AAAB5CAIAAAD02Fr9AAAUUklEQVR4nO2dT28T59qHzyeiTeYjW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x5KstbDFypHhurekYXQXcxWxEidmvcWfI3e3yRIja1zJ646U7hYUIYQ4gicRQgghhKiDJxFCCCGEqIMnEUIIIYSogycRQgghhKiDJxFCCCGEqIMnEUIIIYSoM44nTV1/MD2fD710QgghhBD/Mj2fn/7u4Zk96Zvvn06llkOvnhBCCCHEv0ylli/ffHZmT1r/8PGrb5emUst0lQghhBDy5WV6Pj+VWv7q26X/bv5xZk8SqvTN90+/vvbg0tX7hBBCCCFfUqauP7x885lSkkbyJAAAAICLCZ4EAAAAoAZPAgAAAFCDJwEAAACowZMAAAAA1OBJAAAAAGrwJAAAAAA1eBIAAACAGjwJAAAAQM3/A+s6/dSdqo3vAAAAAElFTkSuQmCC" alt="" />

1)如上图所示,我们常见到的

2)抽象出一个通用类.btn,然后根据颜色不同再编写不用的类.btn-default、.btn-success等,还有一个disabled,不可点击时候的样式。

3)将大小类也独立出来,.btn-lg、.btn-sm等

4)根据实际情况也可以做这三次的抽象,实际的按钮肯定与这里的不一样

5)CSS代码仅仅是部分的,将抽象基类展示了出来

<div>
<a href="#" class="btn btn-default btn-lg">按钮</a>
<button class="btn btn-default btn-sm">按钮</button>
<input type="button" class="btn btn-default btn-xs" value="按钮"/>
<a href="#" class="btn btn-primary">按钮</a>
<button class="btn btn-primary">按钮</button>
<input type="button" class="btn btn-primary" value="按钮"/>
<button class="btn btn-primary" disabled="disabled">按钮</button>
</div>

2、超链接式按钮

1)像个超链接一样,如上图的最后一个按钮,只要加个.btn-link样式即可。

2)这里也可以将超链接样式给抽象出来,将大小、颜色分出来

3)独特的超链接可以单独写样式

<button class="btn btn-link">按钮</button>

3、块级按钮

将按钮宽度变为100%,有时候会有所需要,如下图所示的就要比刚刚的按钮宽很多。

<button class="btn btn-primary btn-block">块级按钮</button>

七、栅格

这里把bootstrip2.3.2中的流布局.row-fluid等搬了过来。

1、流式栅格布局

1)span1--span12,有12种选项,默认会margin-left:2%左右

2)offset1--offset12,也有12种选项,代表向左便宜的量

3)margin-left与width,都用到了小数点后14位。

4)show-grid这个类仅仅是展示用的,我就写在了页面上面,没有写在style.css文件中

<div>
<div class="row-fluid show-grid">
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
<div class="span1">1</div>
</div>
<div class="row-fluid show-grid">
<div class="span4">4</div>
<div class="span4">4</div>
<div class="span4">4</div>
</div>
<div class="row-fluid show-grid">
<div class="span4">4</div>
<div class="span8">8</div>
</div>
<div class="row-fluid show-grid">
<div class="span6">6</div>
<div class="span6">6</div>
</div>
<div class="row-fluid show-grid">
<div class="span12">12</div>
</div>
</div>

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxEAAAErCAIAAAAue5nTAAAQx0lEQVR4nO3dwZHixt/H4X9OyoAMKPKYKuKgirsTmANpzIUMyEIlXXR934N2MYN7tyUG1D9az3OyfVj3t3YbfWbM4P/9HwAAOf8rfQAAgDegmQAA8jQTAECeZgIAyNNMAAB5mgkAIE8zAQDkaSYAgLx0Mw3D0HVdW1rXdcMwPDbMBBNMqGZCkBUmmBBhhQkFJySaaRiG0kO+eeB3xYSnMyGCdU6ItsKECCqY0K71Rr/1hEQz9X1fesI3fd/P/S0x4elMiGCdE6KtMCGCCia0a73Rbz0h0Uylz58w97ek9HkTTIjAhAjmTgi4woQIKpjQrvJGlz5vwvTDa6aFmBCBCRHMnRBwhQkRVDChXeWNLn3ehOmH10wLMSECEyKYOyHgChMiqGBCu8obXfq8CdMPr5kWYkIEJkQwd0LAFSZEUMGEdpU3uvR5E6YfXjMtxIQITIhg7oSAK0yIoIIJ7SpvdOnzJkw/vGZaiAkRmBDB3AkBV5gQQQUT2lXe6NLnTZh+eM20EBMiMCGCuRMCrjAhggomtKu80aXPmzD98JppISZEYEIEcycEXGFCBBVMaFd5o0ufN2H64TXTQkyIwIQI5k4IuMKECCqY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gkISjMBoWgmICjNBISimYCgNBMQyo+aqe/70ucH6tT3/QPN5EUJeJFZL0qJZhqGofQEoE7DMDzQTF6UgBeZ9aKUaKbxFarrutJDgHp0XfdYMHlRAl7hgReldDMBAHBLMwEA5GkmAIA8zQQAkKeZAADyNBMAQJ5mAgDI00wAAHmaCQAgTzMBAORpJgCAPM0EAJCnmQAA8jQTAECeZgIAyNNMAAB5mgkAIE8zAQDkaSYAgDzNBACQl26mYRi6rmsBAGrUdd0wDD9tpmEYSg8BAHi5WdmUaKa+70tPAAB4ub7vf9RMpc8PALAQzQQAkKeZAADyNBMAQJ5mAgDI00wAAHmaCQAgTzMBAORpJgCAPM0EAJCnmQAA8jQTAECeZgKiOx32TdMcP8+3//Dyddo0v+wPp1JnA9ZDMwFxjbU0um2my9dpu91ffv3deSebgNfTTEB8591/vs906/ix230cFzwPsEaaCYhPMwHlaSYgvr83k/82ByxBMwHx/a2Zjh+7zb/vbQJ4Fc0ExPfHZjod9k2z++N/tAN4Hs0ExJdupvPnsWk2py/fYwKWoJmA+BLNJJiAhWkmIL77Zho/0PIvP0kH8HSaCYjr/Hlsvtt9HNv2st9uUv8c4IU0EwBAnmYCAMjTTAAAeZoJACBPMwEA5GkmAIA8zQQAkKeZAADyNBMAQJ5mAgDI00wAAHk/aqa+70ufHwDg5fq+/1EzDcNQegIAwMsNw/CjZhqzqeu60kMAAF6i67pZwfTHZgIA4JZmAgDI00wAAHmaCQAgTzMBAORpJgCAPM0EAJCnmQAA8jQTAECeZgIAyPt/iQGGLz1mSKYAAAAASUVORK5CYII=" alt="" />

2)默认栅格布局

1)流是用百分比计算,这里的话是直接用像素计算

2)span也有12种,详细信息可查看CSS。范围在100px---940px。

3)offset也有12种。范围在100px---980px。

八、表单

这里参考了bootstrip2.3.2bootstrip3.3.5中的表单布局。

1、输入框样式

1)默认高度是20px,line-height也是20px,加了CSS3的圆角

2)当:focus的时候,边框颜色会改变,并加了CSS3的阴影效果

3)disabled,readonly的效果稍有不同

4)有些输入框旁边需要小图标,左边或右边,这里我就不列出来了,bootstrip中有说明

5)可将输入框的height,line-height,padding等抽象出来,运用到不同场景

<fieldset class="form-group">
<input type="text" placeholder="第一个输入框" class="form-control mb5"/>
<input type="text" placeholder="第一个输入框" class="form-control input-sm mb5"/>
<input type="text" placeholder="第一个输入框" class="form-control mb5" disabled="disabled"/>
<input type="text" placeholder="第一个输入框" class="form-control mb5" readonly="readonly"/>
</fieldset>

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAV4AAACvCAIAAAA68CFFAAAPL0lEQVR4nO3dQW/iOAPG8ff7f4OcyCEK4gAcfCKHTQ4wJwgsamYXRFtShS20IlJHMyV0JHgPhtRJbJets0Dj53cYjTItBAn/cZww+d8eAKDgf5feAQC4RkgDAHDI0rDdbu/u7kajUR/0Mx6P7+7uttvt2d6LcFWEadhut3/++efDw0Mcxy+gnziOHx4eRqMR6qAnYRru7u4eHh5+/fq13W7fQD/b7fbXr18PDw93d3fnfEfClRCmYTQa/fjx4/fv37vd7pw7BFdit9v9/v37x48f4/H40vsCFyBMQ7/f32636ILOdrvddrvt9/uX3hG4AFka3t7ezrkrcIXe3t6QBj0hDSCDNGgLaQAZpEFbSAPIIA3aQhpABmnQFtIAMkiDtkpJQ0xsk7g+u8kj9dwWFb5LDKMeCp/d9u9jdlM48AzD8Abc3+DsLfdn6K/7LjF4Snx11wxp0FYJaSgOHm8wqGe31In36V2M733TMG3b5D5IfO+b2WrQLd8L2xlhXRiOw2OwadCkAlxIg7ZU00DHrX//vW6Y6Ue37xJv8P2ED+dTpMOYM549Us8mKYzvfdsm8XHf0r/zdpsfjuxj1l2XENfPPZHBvNhqQxq0pZoGj9TpcGXGYdg8Dsj0Xz8rrDNT92OGMmOSfQp6HMFqEiKoQ1iXzWX4s4Zw4JmC1lQV0qCtEg4oigOycHzxmTrE97557IJH6nQY043MA4Z1oz4YeHXihQOPO9S54zkceKZtF0PDPjU9DkIakAY9lX+GIntwnn78xsQ25QU5zNRtEh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hCshTMN+v99sNpPJZDgc9kE/o9FoOp2iC9qSpQEAtIU0AAAH0gAAHEgDAHAgDQDAgTQAAAfSAAAcSAMAcCANAMCBNAAAB9IAABxIAwBwIA0AwPF/YcEJOoKxO6oAAAAASUVORK5CYII=" alt="" />

2、多选框与单选框

1)同样也有disabled样式

2)第一种是堆叠在一起的情况

3)第二种是内联的样式

<fieldset class="form-group">
<div class="checkbox"><label><input type="checkbox">独占一行</label></div>
<div class="checkbox"><label><input type="checkbox" disabled="disabled">独占一行 不能点击</label></div>
<div class="radio"><label><input type="radio">独占一行</label></div>
<div class="radio"><label><input type="radio" disabled="disabled">独占一行 不能点击</label></div>
</fieldset>
<fieldset class="form-group">
<div>
<label class="checkbox-inline"><input type="checkbox">内联一</label>
<label class="checkbox-inline"><input type="checkbox">内联二</label>
</div>
<div>
<label class="radio-inline"><input type="radio">内联一</label>
<label class="radio-inline"><input type="radio">内联二</label>
</div>
</fieldset>

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAANMAAADZCAIAAAA1/pLoAAAQlklEQVR4nO2d/W7aaNqH95w4BE4B+Qh6CEgcwf47VcPIBxAqTWmkXbFTaycwbdVm20m3DeHLCY0NCR8mfOMYN+TdIeL9w8EYYxuDCffg/C5FVSjY+IbL9/NhP3f+NgGAgr9RHwB4osA8QAPMAzTAPEADzAM0wDxAA8wDNMA8QAPMAzTAPEDD+ub99Py5mx/LbfkEy4RZy6ekLBcMMPzy9+eZQJDLSmsfvw1SJBR6hN0CM57MU5dhZ95kIkVCQTbBTxYspDWPDTPBUESaTPgEG7DGzbGB5Xg17x+/Hpp+/vkm+ebwberdB0fzHgyLRiOm75LQPC4a0bQDW2AD5n095fWfTL7IF0WhdPnh6JOzeZPJhA0zunZsmLHOMDaN8mTCW28QCGipdFX0bAe2w8bMO8me5fiLolAuXVaqtfrnP46dzZuqNjMvEuUm8zmPi0YczdtYzjO2+Fw0oh0JeFQ2YN5J9jxT+F44F4TSZaVakxqNZrP57eTEwbxp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ZvbukNPPCNvcHbO2+ge3DRSNMOGxzf8Du3Tewe+YBfwDzAA0wD9AA8wANMA/QAPMADTAP0ADzAA0wD9DwFzJvV9bbbhqst12L8Xh8msm8Pjh4sbf3Ym/v9cHBaSYzHo/X2NWurLfV2FzgWG+7OsPhMPby5WEyKQiCdi+4IAiHyWTs5cvhcLjq3nZlve1kw4Fjve2KjMfj/Vjs6Oio1+t//nLCJd9zyffHX9O9fv/o6Gg/FnNOALu73tZj4Fhvq7G+eaeZzGEy2Wp3fv3t7duPfxyf5L6k85+Ov7378KnT7R4mk6eZjMPmu7ve1mPgWG+rsb558XhcFMVPx9/eHX35esqnc+d8URTLV/nCeYHnRVGMx+MOm+/ueluPgWO9rcb65r3Y21MU5c3h25PsWf7sQihd1utSq9VqNluZbE5RlBd7ew6b7+56W4+BY72thlfzUu8+nl+Uriq1Vqs1GAxkWR4MZEEUB4NB9OefHTbf3fW2HgPHeluN9c375dWrUql0ms3zZ0Xt09fWnPb7/WazWSqVfnn1ymHz3V1v6zFwrLfVWN+8dDqdTKW63d5J+rRSrWrLTm9ubjqdjqIoyVQqnU47bL676209Bo71thobmFWR5ZtqrVavS612u98fDIdDl7MqO7re1mPgWG+r4XUmeT8WS6ZSgiBo60xFUUymUvux2NIJ1d1dbzvxFjjW22ps4OpZOp1+fXCgLTKNx+PpdNrNRaTdXW+rsXbgWG+rgfW22wbrbTX+QvequATrbbHeFoD1gXmABpgHaIB5gAaYB2iAeYAGmAdogHmABpgHaIB5gAaYB2iAeYAGmAdo+H/3LDKxhlQYNgAAAABJRU5ErkJggg==" alt="" />

3、下拉框

1)默认高度是34px

2)IE7、IE6低版本浏览器是不受CSS影响的

3)如果还想好看点的话,可以用插件select2,他还提供了额外的功能。

<select class="form-control">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>

4、静态控件

1)经常是在查看页面,直接将文字输出

2)使用了form-control-static类

3)注意这里用到了上面的流布局,我是在fieldset的父级加上了row-fluid的类。

<fieldset class="form-group">
<label class="control-label">Email</label>
<div class="controls">
<p class="form-control-static span6">email@example.com</p>
</div>
</fieldset>

5、堆叠布局

control-label-block,label标签上面加上这个类即可。

<fieldset class="form-group">
<label class="control-label-block">Name</label>
<div class="controls">
<input type="text" class="form-control span6"/>
</div>
</fieldset>

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaMAAACaCAIAAACL9bByAAAFrUlEQVR4nO3bS27qSBiA0d6Tl8AWECvoJURiBb2CSCzg7iADFtBzJIwlhnhgyRkiNRIoBZLpAY9LcvuaPJyE/nXOCDnlokafquzwxx4guj++ewEAn07pgPiUDohP6YD4lA6IT+mA+JQOiE/pgPiUDojvSulGd4PsQq8/rD/8lfOHUZb1xrN6v9+P74edzAnQ4nrpBnejbr9S6YAv9g2lu6R0wBd4T+nq2biX9X48/OgdD7WD+X4/vh/+esKtZ+PTmGx4Pz5cnD+MDrfslQ74Eu8u3blo9bDfy7LsNGw++Bm1+q+7v+qLW0YP873SAV/ubW8kDgm7zNb++XO3/W8PvPWw3zvcrnTAF3v/6fWctsty/XLLfPBLKJUO+GKfWLrnWz97OuDbfGLpnldM6YBv87mluyya0yvwXd72RuJQqFc/pzu+ls2ybHj/w54O+C5+9wrEp3RAfEoHxKd0QHxKB8SndEB8SgfEp3RAfEoHxHeldCmlsizzPJ8A3JiiKMqyTCl9qHQppdlsVlXVcrn8B+DGLJfLqqryPL8au7bSlWVZVdV6vU4pbQFuTEppvV5XVVWW5ftLl+f5arXa7XZN07TPAvD1mqbZ7Xar1aooivaRbaWbTCYpJZkDblbTNCmlyWTSPuxK6bbbbaerAujYdrtVOiA4pQPiUzogPqUD4lM6ID6lA+JTOiA+pQPiUzogPqUD4lM6ID6lA+JTOiA+pQPiUzogPqUD4lM6ID6lA+JTOiA+pQPiUzogPqUD4lM6ID6lA+L7aOnyPN9sNp0uCaBjm82mKIr2MW2lWywWdV03TdPpqgA60zRNXddlWbYPaytdSmk6ndZ1nVL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lA6I71811z6aMTaV/AAAAABJRU5ErkJggg==" alt="" />

6、内联布局

1)注意下面的span3,这里没有用流布局row-fluid,而是直接引用,这个时候不是百分比,而是写死的px值。

2)fieldset外面套的是form-inline。

<div class="form-inline">
<fieldset class="form-group">
<label class="control-label">Name</label>
<div class="controls">
<input type="text" class="form-control span3"/>
</div>
</fieldset>
<fieldset class="form-group">
<label class="control-label">Email</label>
<div class="controls">
<input type="text" class="form-control"/>
</div>
</fieldset>
<fieldset class="form-group">
<button class="btn btn-primary">搜索</button>
</fieldset>
</div>

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlUAAAA3CAIAAACqxyidAAAGa0lEQVR4nO3dwWviWADH8fmLOqP+CcJQ2KvjX7DXTjtFkM5pyv4JBa9baKe9CZ2uzLXS04KdRhmFLphD2Ax0OwgKFp9CsodojEnMWI0m5n0/5KBtauOQX3997yWdVyYAAPJ5FfUBAAAQAfoPACAj+g8AICP6DwAgI/oPACAj+g8AICP6DwAgI/oPACAj+g8AICP6DwAgI/oPACCjLe4/IYSqqoqi1IBEaDQaqqoKIaLOVhByJ7PgU/S71tk9vn6zf7Gzdx6TLXVw+dsff33XOr4HvK39J4So1+uapnU6nS6QCJ1OR9M0RVFiW4HkTnIBp+h3rfNm/yJVKKePKpmPX2OypY8qqUL59f7FN/Wn93ze1v5TVVXTtH6/L4QYAokghOj3+5qmqaoadcL8kTvJBZyiu8fXqUI58sLz3VKF8u7xtfd83tb+UxSl1+uNRiPDMKI+FiAchmGMRqNer9doNKI+Fn/kTnIBp2jq4CJWIz/XKDD94dL7dra1/2q1mhCCECJhDMMQQtRqtagPxB+5w7xTdGfvPPKeC9h29s6972WL+284HEZ9FED4hsNhnPuP3MH3FKX/NoccIqnoP8Qc/Rcxcoikov8Qc/RfxMghkor+Q8zRfxEjh0gq+g8xR/9FjBwiqaLqv1Ihn8nkm6ZpmmbzqpTJZEpXTdc+5A6mVP1XOSlmMhk7GDa9XslmMsWTyvL/iisgh0gq3x8u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UMkFf2HmKP/IkYOkVT0H2KO/osYOURS0X+IOfovYuQQSUX/Iebov4gpivL8/Bz1UQDhe35+bjQaUR+FP3IHc84pmjq4SB9VIu853y19VEl/uPS+kW3tv3a7reu6YRhRHwgQJsMwdF1XVTXqA/FH7jDvFH376UuqUI686ny3VKG8e3ztfS/b2n9CiPv7e13XhRBRHwsQDiHEjx8/7u/vB4PBr/eOArmTXMAp+k39+fr951ShHKtRYPqokiqUX7///Pc//3nfzrb2n2maQoh2u60oSg1IhEajoapqbMvPQu5kFnyKflN/vv305c3+xc7eeUy21MHl7vG1b/mZW91/AAAsjf4DAMiI/gMAyIj+AwDIiP4DAMiI/gMAyIj+AwDIiP4DAMiI/gMAyOh/aswi17LbV0YAAAAASUVORK5CYII=" alt="" />

7、水平布局

1)标题label,默认是没有设置宽度的,可以添加span1或者其他设置宽度

2)按钮可以设置offset1或者其他,来设置偏移

3)加入form-horizontal类和row-fluid类

<div class="form-horizontal row-fluid">
<fieldset class="form-group">
<label class="control-label span2">Name</label>
<div class="controls">
<input type="text" class="form-control span6"/>
</div>
</fieldset>
<fieldset class="form-group">
<label class="control-label span2">Email</label>
<div class="controls">
<input type="text" class="form-control span6"/>
</div>
</fieldset>
<fieldset class="form-group">
<button class="btn btn-primary offset2">搜索</button>
</fieldset>
</div>

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAesAAACRCAIAAABsXwflAAAIb0lEQVR4nO3dwWrb2B6A8Xmito4ewTAE7jbVE8y2004wmNzVhMt9goDXoemku4CbMbNN6OqCU8umDuSCtRCjQCetIQYbHwt0ZiFbkRU5iZ1Jj/7y90MLW/ZRhBZfDsfC/kEDAGT6wfQJAABWRMEBQCoKDgBSUXAAkKr4BVdKua7rOE4TAPKn0+m4rquUWqFvBS+4Uqrdbnue1+/3rwEgf/r9vud5juOsEPGCF9x1Xc/zhsOhUmoCAPmjlBoOh57nua67bOIKXnDHcQaDQRAEYRiaPhcAyBCGYRAEg8Gg0+ksO7bgBW82m0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MdfNri05Oz2UtnV1onnv4x+2xzkemsnIIDeDoUfFHBpxG/OO9Fc+1kvuNpezQBjz/P3D+/Ti3CUHAAT4eC31Hwm4l2Kt+p9ZO44NsHZ9FLzMEBfAcUfC7Kev4mkzjciTWT8en8XYPR3tQS+cMn4xQcwMoouOGNggNYGQWn4ACkouAUHIBUFJyCA5CKglNwAFJRcAoOQKriF7z05nBjp2G81Jnbxk5j45f3pq8QAKmKX/Aff/1QqhwZj3XmVqocbe4em75CAKQqfsE/uV+f//xbqXKUq5n4xk6jVDl6/vNv//v/X6avEACpil9wrfUn9+uPv3548frw2at3OdlKb95v7h6TbwCPsRYFB4BCouAAIBUFBwCpKDgASEXBAUAqCg4AUlFwAJCKggOAVH8Dp/ugxz+3fQMAAAAASUVORK5CYII=" alt="" />

8、校验状态

1)表单免不了要做验证,而验证的时候就需要醒目的颜色提示

2)默认给了三种颜色类.has-error、.has-warning和.has-success

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg8AAADwCAIAAAAIHBAQAAAN2UlEQVR4nO3dz28UV4LA8fm/gAtCmhmbzeKw2igRich1JV8Rkg02QSwRJ0YWwp0lcUKwV6DNBLwxk2Ci1c7Kw85hFLLZviEi2bGNnfBz40jdlqrnUO5y9S+X6W14/ZjPR3Vwl7uqny/v2/Wq1f5VDQCK/Cr0AACIgFoAUEwtACimFgAUUwsAiqkFAMXUAoBiagFAMbUAoJhaAFBMLQAophYAFFMLAIqpBQDF1AKAYmoBQDG1AKCYWgBQTC16Zv3J+tj0+OCpg3uP7bPZbLZ+24bOvP7ev55ef7Le3RSnFr2x/mT9tdN/f+nLS/d/uP8UoP/c/+H+R7emBk8dXH202sUspxa9MTY9funLDzc2NiqVShWg/1QqlY2NjUtffjg2Pd7FLKcWvTF46uDi2tLm5maSJKHHAtBGkiSbm5uLa0tDZ17v4nC16I29x/ZVKhWpAPpZkiSVSmXvsX1dHKsWvbH32L5qtRp6FAAFqtWqWoSkFkAU1CIwtQCioBaBqQUQ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moRmFoAUVCLwNQCiIJaBKYWQBTUIjC1AKKgFoGpBRAFtQhMLYAoqEVgagFEQS0CUwsgCmoRmFoAUVCLwNQCiIJaBKYWQBTUIjC1AKKgFoGpBRAFtQhMLYAoqEVgagFEQS0CUwsgCmoRmFoAUVCLwNQCiIJaBKYWQBTUIjC1AKKgFoGpBRAFtQhMLYAoqEVgagFEQS0CUwsgCmoRmFoAUVCLwNQCiIJaBKYWQBTUIjC1AKKgFoGpBRAFtQhMLYAoqEVgagFEQS0CUwsgCmoRmFoAUVCLwNQCiIJaBKYWQBTUIjC1AKKgFoGpBRAFtQhMLYAoqEVgagFEQS0CUwsgCmoRmFoAUVCLwNQCiIJaBKYWQBTUIjC1AKKgFoGpBRAFtQhMLYAoqEVgagFEQS0CUwsgCmoRmFoAUVCLwNQCiIJaBKYWQBTUIjC1AKKgFoGpBRAFtQhMLYAoqEVgagFEQS0CUwsgCmoRmFoAUVCLwNQCiIJaBKYWQBTUIjC1AKKgFoGpBRAFtQhMLYAoqEVgagFEQS0CUwsgCmoRmFoAUVCLwNQCiIJaBKYWQBTUIjC1AKKgFoGpBRAFtQhMLYAoqEVgagFEQS0CUwugn33zzTfpD2oRmFoAfWt1dfXzzz9Pf1aLwNQCiIJaBKYWQB/KFqCsRPULtQD6TbYAZSWqj6gFEAW1CEwtgP7RugBlJapfTBwfePzjSuhRAGyvOy0uLl67dq3WuBL1+MeViyeGujitWvTGjQ9H//TVJ0mShB4IQEdJkvzpq09mp8a6OFYteuPJw5XfHfv1wh+mnj5aCz0WgDaePlq789Xl3x379aP1pS4OV4ueefJw5caHoxPHB84N77HZbLZ+2y6eGJqdGusuFTW1AGA31AKAYmoBQDG1AKCYWgBQTC0AKKYWABRTCwCKqQUAxdQCgGJqAUAxtQCg2F8BXlOMrjxSDakAAAAASUVORK5CYII=" alt="" />

九、辅助类

1、情境背景颜色

通过颜色来展示意图,当你表单验证的时候,可以用下面的样式展示提示信息。

aaarticlea/png;base64,iVBORw0KGgoAAAAN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rL96U184mkja/8+Pq9VnxfpLrCcBAAAA4Muj1HhdrL9arT7b+8/m0UQS00lv6q9Wq89fv58GAAAAAPiSWK0+f1NfcFZISpEEg8FgMBgM9pUbRBIMBoPBYDCYxCCSYDAYDAaDwSQGkQSDwWAwGAwmMYgkGAwGg8FgMIlBJMFgMBgMBoNJDCIJBoPBYDAYTGIQSTAYDAaDwWASg0iCwWAwGAwGkxhEEgwGg8FgMJjEIJJgMBgMBoPBJAaRBIPBYDAYDCax/w+J2qhKPDKWVQAAAABJRU5ErkJggg==" alt="" />

十、组建

1、分页

1)分页有四种情况,默认的、当前页、不可点击的和移过去变色

2)分页可以通过URL来分,也可以通过ajax来分,用ajax的话代码会复杂一些

3)下面是个简单的分页结构,有上一页,下一页,中间页面,还可以有总记录数,总页数,最后一页,第一页,跳转到第几页等

4)分页也可以在样式不变的基础上,做不同尺寸

<nav>
<ul class="pagination">
<li class="disabled"><span>&laquo;</span></li>
<li class="active"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li><a href="#">&raquo;</a></li>
</ul>
</nav>

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPcAAAAyCAIAAAAPy9oDAAADi0lEQVR4nO2dMYviQBxH9zv5VfJJjoCQ0lLsUqSwy7VpUlkN3EHKnBAwyxUJGuSKsIWdHKaYK9Rk9Nx1Zpy/ZsLvYeGCuy+ZfY4zWVbfOABD5+3VBwAAOagcDB9UDoYPKgfDB5WD4YPKwfBB5WD43Kh8v9+XZVkURUnDyFtQ34iOHPSKqqrqum6aRrny/X5fFMVqtVoulykNz6nczCTwOVC8XNE0zW6322w2d0O/rrwsy9VqRdQ3KofCOLvdrq7rrx9zXXlRFHSzOCqHwjhN01RV9fVjbszlpImjciier0DlmkBhkQKVawKFRQpUrgkUFilQuSZQWKRA5ZpAYZEClWsChUUKVK4JFBYprKi8/Pn+i67yeH7+xmmamRtZgdxtj22eyx+YTh956hCdBUsuBln6RFD5vdv3+oNzzvkHWeXxfOGy7j7BL2/rT5mft/cXTrQ1rRBdZM9VlvoKz1AthS7klcdBEJ7uhkEQG67cW4y8xbf3v2SV566XxN1XChOhSuXdEymLGF3lWZT4UUJUeRal8f1H6SuEn5/70kMkqXis8nA2OZUdB5NZeOfR/axcmFxJKhfZ+tNEvhU1RZ660ZYzWyvnPHfPR55FrJ0XjCgeqDwOJuNT2eFsPJGbyHtW+QVKg6uoOC7NmdKLvtruIkozzmkrb5fmVAp2XjHmrspY0VUezsansuNgMh7LTuT9rTxPHeqt4eXqxaSCJacfS1a5uGmh2cDwi5dWlow82dc9ssqvIpefyftZueKlCZmRfVyk8FrfNkdW+aUwdcwlKCDsnvPU8WRnBMIVSxxMznELaxcbK1dPXGZkP5O5pvvIIvb/CEjucftzFpxfzN/x3OTFqId2n+Gsjbvbh9pWebfp4Sp7LKUNbjcnUW9wqebyJ5yFcMnV9OrxwSuJcTA7xy1cUzReOf+j9j/RKiMrzklbf06wnBA2UmanqBsQVt4NFMlZtFsLld+CpMKOvwod+f3DdOV56lx9L9mmSmkhoa7gp0XtWWRqRSvwxL/gKmJ55bq3PowsFP1RoHJNoLBIgco1gcIiBSrXBAqLFKhcEygsUqByTaCwSIHKNYHCIgUq1wQKixSoXBMoLFKgck2gsEiB97zVBIqeKDTf8xbvXy4DFD1R6Lx/OT6LQhIoXq44fhbFer0+HA5fPxKfKwRs5fi5QncTv105AAMDlYPhg8rB8EHlYPigcjB8/gGdrUFXZgcOfgAAAABJRU5ErkJggg==" alt="" />

2、错误页面

1)例如404错误呀,查询信息但返回的是空页面。这些根据实际不同,都会特别的设计。

2)这里做个简单的demo。demo比较朴素,没有图标,只有句简单的话

<div class="no-list">
<h4>暂无数据</h4>
</div>

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYIAAADbCAIAAADvbgFVAAAGMUlEQVR4nO3bMW7iaBzG4TkX1+AYPgYFB3BH4wMgV7hBoqNEHCDK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ve0Kq1mdhs8Nva/KZnX63G3bHd/k5u56NlSdpzq43B4LN8telgzR38PaD27ef3y+fXzrzGWwVJmswO568/5Ra7rnJ8dXf7s9nF6dPkernqlNHC9HhmZuel92u0F7+uOHzf5ZhiaOqC9vfi7aW/ijg57+/t2mP4ruVlX9Va4Zun8ym5ciQzP34IC592B5MrY/LIa3/L/aE113eZdnqa+/w+RjAZc7Yt3lyn6J1BXqO7nkjyZDM/crGRpskR5k6FyMNl+D9IxOnaY/UHJ5tbsx/3Dl9XMPLvHnkaGZ+3JTNpmhm2eX7zN0+cjY8KdGu7NuNdT27svVUL8jk6H/HRmauX+2Gro7ab7PUH+ys3vwnnWx71dA1aG/Sh+ju+eA2gwVVTO18pKhVydDM/fzq6FHn7cYrmhujT8UcvOG3XPSl68M3mTwJNFFF5rx09W3r/KCZGjm3lfl1OHu3eHO9ILluf7oZ1CuS0q+d668qQbf2T1eMPEqL0iGgDAZAsJkCAiTISBMhoAwGQLCZAgIkyEgTIaAMBkCwmQICJMhIEyGgDAZAsJkCAiTISBMhoAwGQLCZAgIkyEgTIaAMBkCwmQICJMhIEyGgDAZAsJkCAiTISBMhoAwGQLCZAgIkyEgTIaAMBkCwmQICJMhIEyGgDAZAsJkCAiTISBMhoAwGQLCZAgIkyEgTIaAMBkCwmQICJMhIEyGgDAZAsJkCAiTISBMhoAwGQLCZAgIkyEgTIaAMBkCwmQICJMhIEyGgDAZAsJkCAiTISBMhoAwGQLCZAgIkyEgTIaAMBkCwmQICJMhIEyGgDAZAsJkCAiTISBMhoAwGQLCZAgIkyEgTIaAMBkCwmQICJMhIEyGgDAZAsJkCAiTISBMhoAwGQLCZAgIkyEg7FczZIwxv2FkyBgTHhkyxoRHhowx4ZEhY0x4ZMgYEx4ZMsaER4aMMeGRIWNMeGTIGBMeGTLGhEeGjDHh+RtHbf0wZ+5gqAAAAABJRU5ErkJggg==" alt="" />

点击查看在线demo

demo下载:

http://download.csdn.net/detail/loneleaf1/8961803

PC网站CSS分享的更多相关文章

  1. 【PC网站前端架构探讨系列】关于中小型PC网站前端架构方案的讨论与实践

    目   录 1.遇到的问题 2.目标 3.探讨 4.架构设想 5.流程 6.初步实现 7.存在问题 8.最后 遇到的问题 我在这个系列上篇文章 已经讲解并开始逐步应用模块化思想,不知大家还记不记得,题 ...

  2. CssStats – 分析和优化网站 CSS 代码的利器

    CssStats 是一个在线的 CSS 代码分析工具,你只需要输入网址或者直接 CSS 地址即可进行 CSS 代码的全方位分析,是前端开发人员和网页设计师分析网站 CSS 代码的利器,可以统计出 CS ...

  3. 成都PC网站建设需要考虑哪些费用呢

    亿合科技PC建设小编分享下:成都PC网站建设需要考虑哪些费用呢?随互联网的发展,越来越多人想建设自己网站,站长最关心的问题之一就是网站建设需要多少钱.每个网站建设的费用都是不一样的,但是都需要涵盖几个 ...

  4. [css]【转载张鑫旭】我是如何对网站CSS进行架构的

    一.写在前面的 都是自己积累形成的一些东西,可能带有明显的个人印记.不是专业内容,不是权威指南,只是展示一点自己的观点,借此希望能与各位优秀的同行交流看法,见解.以得到进步与提高. 二.我所知的一些过 ...

  5. 我是如何对网站CSS进行架构的

    by zhangxinxu from http://www.zhangxinxu.com 本文地址:http://www.zhangxinxu.com/wordpress/?p=944 一.写在前面的 ...

  6. 一天完成把PC网站改为自适应!原来这么简单!

    http://www.webkaka.com/blog/archives/how-to-modify-a-web-page-to-be-responsive.html 一天完成把PC网站改为自适应!原 ...

  7. PC网站转换成手机版

    博客地址:https://www.cnblogs.com/zxtceq/p/5714606.html 一天完成把PC网站改为自适应!原来这么简单! http://www.webkaka.com/blo ...

  8. 基于React的PC网站前端架构分析

    代码地址如下:http://www.demodashi.com/demo/12252.html 本文适合对象 有过一定开发经验的初级前端工程师: 有过完整项目的开发经验,不论大小: 对node有所了解 ...

  9. 7个步骤让PC网站自动适配手机网页

    传统的网站如何完成向移动设备的快速转型? 通过移动适配技术可以实现,切图网是国内首家基于web技术服务的公司,而移动适配主要通过底层的web技术开发手段来完成,下面切图网将从技术角度来告诉你通过7个步 ...

随机推荐

  1. web应用程序

    1.web应用程序和网站的区别 应用程序有两种模式C/S.B/S.C/S是客户端/服务器端程序,也就是说这类程序一般独立运行.而B/S就是浏览器端/服务器端应用程序,这类应用程序一般借助IE等浏览器来 ...

  2. js ---- 时间格式

    Js获取当前日期时间及其它操作 var myDate = new Date(); myDate.getYear();        //获取当前年份(2位) myDate.getFullYear(); ...

  3. 使用C#和Excel进行报表开发(三)-生成统计图(Chart)

    有的Web项目选用Excel作为报表方案,在服务器端生成Excel文件,然后传送到客户端,由客户端进行打印.在国内的环境下,相对PDF方式,Excel的安装率应该比pdf阅读器的安装率要高,同时,微软 ...

  4. Unity学习疑问记录之 动作动画忽略timeScale

    http://www.bubuko.com/infodetail-968864.html

  5. Java中@Override的作用

    @Override是伪代码,表示重写(当然不写也可以),不过写上有如下好处: 1.可以当注释用,方便阅读:2.编译器可以给你验证@Override下面的方法名是否是你父类中所有的,如果没有则报错.例如 ...

  6. Chrome插件整理

    本文内容都来源于偶整理的fetool. 想让更多使用Chrome的小伙伴,体验到这些令人愉悦的小工具,所以单独整理了这篇文章. 如果你是 前端/服务端/设计/面向Github编程/视觉控,相信下列的插 ...

  7. maven仓库信息分析站点推荐

    maven是java的一个依赖,打包管理的工具,稍微大一点的java项目都需要使用maven. 随着java的壮大,maven仓库越来越大,仓库中的jar包有60多万,各种group,各种构件,各种版 ...

  8. 《Entity Framework 6 Recipes》中文翻译系列 (6) -----第二章 实体数据建模基础之使用Code First建模自引用关系

    2-5 使用Code First建模自引用关系 问题 你的数据库中一张自引用的表,你想使用Code First 将其建模成一个包含自关联的实体. 解决方案 我们假设你有如图2-14所示的数据库关系图的 ...

  9. java 反编译利器JD-JUI

    下载地址: http://download.csdn.net/download/suixingbugai/4145221

  10. Html5 实现灯笼绘制

    最近在学习Html5,就用JavaScript在Canvas试着绘制了一个灯笼,并作了简要的说明. 具体绘制思路在页面上有说明,不再赘述,代码如下: <script type="tex ...