Html5 reset表 2015年1月7日15:02:14

/*
 HTML5 Reset :: style.css
 ----------------------------------------------------------
 We have learned much from/been inspired by/taken code where offered from:

 Eric Meyer :: http://meyerweb.com
 HTML5 Doctor :: http://html5doctor.com
 and the HTML5 Boilerplate :: http://html5boilerplate.com

-------------------------------------------------------------------------------*/

/* Let‘s default this puppy out
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary {
 margin: 0;
 padding: 0;
 border: 0;
 font-size: 100%;
 font-weight: normal;
 vertical-align: baseline;
 background: transparent;
}

article, aside, figure, footer, header, nav, section, details, summary {display: block;}

/* Handle box-sizing while better addressing child elements:
 http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
html {
 box-sizing: border-box;
}

*,
*:before,
*:after {
 box-sizing: inherit;
}

/* consider resetting the default cursor: https://gist.github.com/murtaugh/5247154 */

/* Responsive images and other embedded objects
 Note: keeping IMG here will cause problems if you‘re using foreground images as sprites.
 If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
img,
object,
embed {max-width: 100%;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren‘t bulleted.
 don‘t forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before,
blockquote:after,
q:before,
q:after {content: ‘‘; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
 white-space: pre; /* CSS2 */
 white-space: pre-wrap; /* CSS 2.1 */
 white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
 word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom;}
.ie7 input[type="checkbox"] {vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}

small {font-size: 85%;}

strong {font-weight: bold;}

td, td img {vertical-align: top;} 

/* Make sure sup and sub don‘t mess with your line-heights http://gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label,
input[type=button],
input[type=submit],
input[type=file],
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button,
input[type=button] {width: auto; overflow: visible;}

/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover
 (commented out as usage is rare, and the filter syntax messes with some pre-processors)
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}
*/

/* let‘s clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; } 

/*自己增加*/
.clearit { clear:both; height:0; font-size:0; overflow:hidden; }
时间: 2024-08-04 01:02:33

Html5 reset表 2015年1月7日15:02:14的相关文章

iWeb峰会(HTML5峰会)2015年7月19日上海站会后感想

上周日专门从南京跑到上海参加了iWeb峰会(HTML5峰会),感觉这一天去的挺值的,几个演讲都挺精彩,干货不少啊. 整体感觉随着2014年HTML5标准的最终定稿,近期HTML5产业链在逐渐完善,整个行业应该还处在发展成熟期,已经出现一些技术平台级的公司,例如白鹭游戏引擎,Crosswalk,DCloud等.另外微信等一些超级APP已经是HTML5的主战场,各公司在自家的App里面基本上都已经引入WebView,实现HTML5混合架构. 先说下几个印象比较深的项目和公司, 白鹭Egret游戏引擎

明确将于2015年1月1日起取消流动人员人事关系及档案保管费等内容

新华网北京12月12日电(记者崔清新)中央组织部.人力资源社会保障部.发展改革委.财政部.国家档案局等五部门本周联合下发<关于进一步加强流动人员人事档案管理服务工作的通知>,明确将于2015年1月1日起取消流动人员人事关系及档案保管费等内容. 今年8月11日,新华社“新华视点”栏目曾以<为薄薄几张个人信息安个“家”,为何每年收取数十亿元?—追问档案保管费>为题,报道了不少地方在流动人员人事关系及档案保管费方面存在的问题.报道播发后,有关方面高度重视,表示将尽快解决相关问题. <

linux运维实战练习-2015年9月13日课程作业(练习)安排

一.作业(练习)内容: 1.描述shell程序的运行原理(可附带必要的图形说明): 2.总结shell编程中所涉及到的所有知识点(如:变量.语法.命令状态等等等,要带图的哟): 3.总结课程所讲的所有循环语句.条件判断的使用方法及其相关示例:(if (jpg|png is not exist):echo "You say a XX") 4.写一个脚本:如果某路径不存在,则将其创建为目录:否则显示其存在,并显示内容类型:(不要怀疑,就是这么简单) 5.写一个脚本,完成如下功能:判断给定的

第一金早评 - 2015年01月07日-晨早快訊

每日金市速遞 (2015年01月07日) 谢权东 先生 上日9999 金粒賣出價每両 HKD 12590 金粒賣出價資料參考周生生,周大福 即日投資策略: 黃金日線圖上分析,日線收3連陽,K線沿布林帶中軌和上軌之間運行,金價日內大漲,布林帶有向上開口跡象,布林中軌向上翹頭,短週期均線指標金叉向上,MACD快慢線死叉於0軸下方金叉,有上穿0軸趨勢,紅柱放量. 從4小時來看,布林帶向上開口,金價處於布林上軌1220與MA5-1215之間震盪往上,短週期均線指標金叉向上,MACD快慢線於0軸附近形成金

2015年9月7日 Hank 北京PASS CCIE-RS

CCIE,我心里一直的梦想. 2015年9月7日,我终于圆梦了.     从业9年,一直搞的都是数通RS. 系统的学习以前,我认为是复习原理.结果接触第一个月,完全把我所有的轻视之心完全颠覆.      在淘宝上面花几十块钱买了一套RS的培训视频. 40G. 主讲讲师:林江涛. 对于这位大神,只有拜服. 他讲解的视频里面,理论配合实践,非常详细,而且分解试验非常详细.      开始学习OSPF的时候,才详细了解type-1 到type-7的LSA. 不同的网络类型. 从无到有,最后,根据林si

linux运维实战练习-中级班套餐班-2015年10月18日-10月24日课程作业(练习)安排

一.作业(练习)内容: 1.MariaDB基础总结,包括表管理.索引管理.用户及权限管理: 2.编译安装LAMP,其中分别实现: (1).把php编译成为httpd的模块 (2).php以fpm工作为独立守护进程 3.安装并配置基于虚拟用户的vsftpd: 4.建立nfs共享,将主机172.16.0.1上的目录/magedu通过nfs共享给172.16.0.0/16(可根据自己的网络情况来设置)网络的主机以读写方式使用: 5.建立samba共享,共享目录为/data,要求: 1)共享名为shar

2015年8月27日课程作业(文件权限管理及grep正则和扩展正则表达式)-JY1506402-19+liuhui880818

学习内容:文件权限管理及grep正则和扩展正则表达式 系统环境:CentOS 6.7/7 x86_64 一.作业(练习)内容: 1.总结本此课程中所涉及命令的使用方法及相关示例展示: 2.总结基本正则表达式及扩展正则表达式 3.显示/etc/passwd文件中以bash结尾的行 4.显示/etc/passwd文件中的两位数或三位数 5.显示`netstat -tan`命令结果中以'LISTEN'后跟0个.1个或者多个空白字符结尾的行 6.添加用户bash.testbash.basher以及nol

linux运维实战练习-2015年8月30日课程作业(练习)安排

一.作业(练习)内容: 1.总结文本编辑工具vim的使用方法: 2.总结文件查找命令find的使用方法: 3.总结bash环境变量的相关内容: 4.总结Linux文件系统上的特殊权限(SUID.SGID.Sticky)的知识点: 5.总结Linux磁盘管理.文件系统相关知识点及其相关命令的使用方法: 6.复制/etc/grub.cfg配置文件至/tmp目录,用查找替换命令删除/tmp/grub.cfg文件中的行首的空白字符: 7.复制/etc/rc.d/init.d/functions文件至/t

雷米 - 心理罪:暗河(2015年8月9日)

<心理罪:暗河> 作 者:雷米译 者:系 列:出 版:重庆出版社字 数:290千字阅读完成:2015年8月9日