手机端全局样式表整理(mobile)

@charset "utf-8";
/*
 * filename:          global.css
 * description:       全局样式(包含样式重置,公共常用样式,链接样式等)
 * author:            我爱小明
 * version:           1.0
 * updated:           2013-04-20
 *
*/
 
*{ margin:0; padding:0; border:0; outline:0; vertical-align:baseline; background:transparent; }
input, textarea{margin:0; padding:0; font-size:100%; vertical-align:middle;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{display:block;}
ol, ul, li { list-style:none;}
/* remember to define focus styles! */
:focus {outline:0;}
/* remember to highlight inserts somehow! */
ins{ text-decoration: none; }
del{ text-decoration: line-through; }
/* tables still need 'cellspacing="0"' in the markup */
table{border-collapse:collapse; border-spacing: 0;}
body { background:#fff; font:12px/2.0 微软雅黑,arial,sans-serif; color:#333; padding-bottom:20px; -webkit-text-size-adjust: none; text-size-adjust: none;}
a{text-decoration:none; color:#333;}
input,select,img{vertical-align:middle;}

.cf:before, .cf:after { content: "\0020"; display: block; height: 0; visibility: hidden; }
.cf:after { clear: both; }
.cf { zoom: 1; }
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }

posted @ 2013-07-20 10:40  我爱小明  阅读(2412)  评论(0编辑  收藏  举报