网站地图    收藏   

主页 > 前端 > css教程 >

一个全局的css global.css - html/css语言栏目:html.c

来源:自学PHP网    时间:2015-04-14 14:50 作者: 阅读:

[导读] @charset utf-8;/* =Reset default browser CSS. Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html----------------------------------------------------------......

@charset "utf-8";  
 
/* =Reset default browser CSS. Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html  
-------------------------------------------------------------- */  
html, body, div, span, applet, object, iframe,  
h1, h2, h3, h4, h5, h6, p, blockquote, pre,  
a, abbr, acronym, address, big, cite, code,  
del, dfn, em, font, ins, kbd, q, s, samp,  
small, strike, strong, sub, sup, tt, var,  
dl, dt, dd, ol, ul, li,  
fieldset, form, label, legend,  
table, caption, tbody, tfoot, thead, tr, th, td { margin:0; padding:0;}  
:focus { outline:0;}  
ol, ul { list-style:none;}  
h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight:normal;}  
/* tables still need 'cellspacing="0"' in the markup */  
table { border-collapse:separate; border-spacing:0;}  
caption, th, td { font-weight:normal; text-align:left;}  
blockquote:before, blockquote:after,  
q:before, q:after { content:'';}  
blockquote, q { quotes:'' '';}  
a img { border:0;}  
article, aside, details, figcaption, figure,  
footer, header, hgroup, menu, nav, section { display:block;}  
 
/* =Structure  
----------------------------------------------- */  
body { font:12px/1.5 'Microsoft yahei', Tahoma, Geneva, sans-serif; color:#666; background:#d5d8dd;}  
a { text-decoration:none; color:#4a5566;}  
a:hover { text-decoration:underline; color:#3061b0;}  
.area { width:960px; margin:auto;}  
.pt { padding-top:20px; !important;}  
.mb { margin-bottom:20px !important;}  
.clearfix:after { content:'.'; display:block; height:0; clear:both; visibility:hidden; font-size:0;}  
.clearfix { min-height:1%;}  
.red { color:#c33;}  
.tright { text-align:right;}  
.dis { display:none !importantb;}  
 
/* = Layout  
----------------------------------------------- */  
/* header */  
 
 
/* body */  
 
 
/* footer */ 
作者:tbwshc

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论