首頁  >  文章  >  web前端  >  介紹一個全域的css-global.css

介紹一個全域的css-global.css

零下一度
零下一度原創
2017-04-27 14:09:473608瀏覽

本文向大家介紹一個全域的css-global.css ,想了解的朋友們可以看一下子

@charset "utf-8";

/* =Reset default browser CSS. Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, p, 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 !important;}

/* = Layout
----------------------------------------------- */
/* header */


/* body */


/* footer */

以上是介紹一個全域的css-global.css的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn