公用的css
/*公共开始*/
body, ol, ul, h1, h2, h3, h4, h5, h6, p, th, td, dl, dd, form, fieldset, legend, input, textarea, select{margin:;padding:;}
body{font:12px "宋体","Arial Narrow",HELVETICA;background:#FFF;-webkit-text-size-adjust:100%;color:#333;}
a{text-decoration:none;color:#333;}
a:hover{text-decoration:underline; color:#f88324}
em{font-style:normal;}
li{list-style:none;}
img{border:;vertical-align:middle;}
table{border-collapse:collapse;border-spacing:;}
p{word-wrap:break-word;}
.undis{display:none;}
.dis{display:block;}
.cf:after,.layout:after,.hd:after,.bd:after,.ft:after{content:"";display:table;clear:both;}
.cf,.layout,.hd,.bd,.ft{*zoom:;}
.layout{ width:1000px; margin:0 auto}
.fl{ float:left; _display:inline}
.fr{ float:right; _display:inline}
.yh{ font-family:"微软雅黑"; font-weight:normal;}
.bgf{ background:#fff;}
.posr{ position:relative;zoom:}
.mt{ margin-top:20px;}
.borf{border:1px solid #c7d8e0; border-top:0px; background:#fff;}
.bor{border:1px solid #c7d8e0; background:#fff;}
/*公共结束*/
/*新浪微博公共头部*/
/*css hack: \9 ie6-ie8; \0 ie8*/
body, button, input, select, textarea {font:12px/1.125 Arial, Helvetica, sans-serif;_font-family:"SimSun";}
body, h1, h2, h3, h4, h5, h6, dl, dt, dd, ul, ol, li, th, td, p, blockquote, pre, form, fieldset, legend, input, button, textarea, hr {margin:;padding:;}
table {border-collapse:collapse; border-spacing:;}
li {list-style:none;}
fieldset, img {border:;}
q:before, q:after {content:'';}
a:focus, input, textarea {outline-style:none;}/*对ie7+有效*/
input[type="text"], input[type="password"], textarea {outline-style:none;-webkit-appearance:none;}
textarea {resize:none}
address, caption, cite, code, dfn, em, i, th, var, b {font-style:normal;font-weight:normal;}
abbr, acronym {border:;font-variant:normal;} a {color:#0a8cd2;text-decoration:none;}
a:hover {text-decoration:underline;}
.clearfix:after {content: ".";display: block;height:;clear: both;visibility: hidden;}
.clearfix {display: inline-block;}
.clearfix {display: block;}
.clear {clear:both;height:;font:0/0 Arial;visibility:hidden;} .CH {font-family:"SimSun"}
.W_Yahei {font-family:"Microsoft Yahei"}
.W_Tahoma {font-family:Tahoma} .W_fs {font-size:10px;-webkit-transform:scale(0.875)}
.W_fb {font-weight:;}
.W_f14 {font-size:14px}
.W_f16 {font-size:16px}
.W_f18 {font-size:18px}
.W_f20 {font-size:20px} .W_fl {float:left;_display:inline}
.W_fr {float:right;_display:inline}
.W_tc {text-align:center;}
.W_tr {text-align:right;}
.W_input, .W_inputStp {
border:1px solid #ccc;
border-radius:2px;
height:28px;
height:20px\9;
padding:0 0 0 5px;
padding:8px 0 0 5px\9;
vertical-align: middle;
vertical-align:top\9;
color:#808080;
-webkit-box-shadow:0px 1px 1px 0px #eaeaea inset;
-moz-box-shadow:0px 1px 1px 0px #eaeaea inset;
box-shadow:0px 1px 1px 0px #eaeaea inset;
}
textarea.W_input {
overflow-y:auto;
overflow-x:hidden;
}
:root .W_input, :root .W_inputStp {
height:24px\0;
padding:5px 0 0 5px\0;
}
.W_input_focus, .W_input:focus, .W_inputStp:focus {
border-color:#FFB941!important;
-webkit-box-shadow:1px 1px 1px 0px #ddd inset;
-moz-box-shadow:1px 1px 1px 0px #ddd inset;
box-shadow:1px 1px 1px 0px #ddd inset;
color:#333;
}
.W_input_default {
color:#b8b7b7;
}
.W_checkbox, .W_radio {
vertical-align:-2px;
_vertical-align:-3px;
margin-right:3px;
*margin-right:;
}
.W_checkbox:focus, .W_radio:focus {
outline-color:#ffb941;
outline-width:1px;
outline-style:solid;
}
.W_face_radius {
border-radius:2px;
}
公用的css的更多相关文章
- 一款公用的CSS+DIV弹窗
为了方便以后自己使用! <html> <head> <style> .winmainshow { background: #fff; padding: 10px 5 ...
- CSS预处器的对比——Sass、Less和Stylus
预处器的对比--Sass.LESS和Stylus 转载: 英文原文:http://net.tutsplus.com/tutorials/html-css-techniques/sass-vs-less ...
- 【前端开发】优化代码之减少引入,css预编译语言的优点,stylus的使用
前言:我必须得承认在最最最开始的时候,我对于css的预编译是非常不以为然的,这是错误的.一般在页面编写过程中,我会将需要reset的css放在reset.css中,讲会需要重复用到的放置到public ...
- CSS设计模式之三权分立模式篇
分类: Html/CSS | 转载请注明: 出自 海玉的博客 本文地址: http://www.hicss.net/separation-of-powers-model-in-css-design-p ...
- 从div盒子模型谈如何写可维护的css代码(转)
市面上我们常常会看到各种各样的设计模式书籍,Java设计模式.C#设计模式.Ruby设计模式等等.在众多的语言设计模式中我唯独找不到关于CSS设计模式的资料,即使在网上找到类似内容,细细一看之下才发觉 ...
- CSS预处理器——Sass、LESS和Stylus实践
CSS(Cascading Style Sheet)被译为级联样式表,做为一名前端从业人员来说,这个专业名词并不陌生,在行业中通常称之为“风格样式表(Style Sheet)”,它主要是用来进行网页风 ...
- CSS预处理器的对比 — Sass、Less和Stylus
本文根据Johnathan Croom的<sass vs. less vs. stylus: Preprocessor Shootout>所译,整个译文带有我们自己的理解与思想,如果译得不 ...
- 初始化css文件
首先我们需要了解一下为什么需要公共样式(公共样式是为了初始化某些标签的默认值): 1. 因为浏览器的兼容问题,不同浏览器对有些标签的默认值是不同的,如果没对CSS初始化往往会出现浏览器之间的页面显示差 ...
- CSS设计模式之三权分立模式篇 ( 转)
转自 海玉的博客 市面上我们常常会看到各种各样的设计模式书籍,Java设计模式.C#设计模式.Ruby设计模式等等.在众多的语言设计模式中我唯独找不到关于CSS设计模式的资料,即使在网上找到类似内容, ...
随机推荐
- Android ConstraintLayout约束控件链接整理
Android新特性介绍,ConstraintLayout完全解析 探索Android ConstraintLayout布局 了解使用Android ConstraintLayout
- WebSQL的基本使用过程
1.创建或打开数据库(openDatabase) var db = openDatabase('dbname', '1.0', 'discription', 2 * 1024); // 目前测试只有C ...
- CentOS 6.9通过RPM安装EPEL源(http://dl.fedoraproject.org)
另类的装法,通过RPM包直接安装 wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm & ...
- HDU 4585 Shaolin(水题,STL)
Shaolin Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Sub ...
- Open Source Universal 48 pin programmer design
http://www.edaboard.com/thread227388.html Hi, i have designed a 48 pin universal programmer but need ...
- ARM 调用约定 calling convention
int bar( int a, int b, int c, int d, int e, int f, int g ) { ]; array2[ ] = a + b; array2[ ] = b + c ...
- Supported_Hardware#4G_LTE_cards_and_modems
https://wiki.mikrotik.com/wiki/Supported_Hardware#4G_LTE_cards_and_modems
- iOS8 NotificationCenter Extension 简介
在最新的WWDC14上面,苹果发布了iOS8的一些新特性,而其中最让程序员兴奋的特性莫过于Extension,或者称之为Widget. 下面就来尝鲜试验一把. 一.Extension简介 首先,苹果只 ...
- 【mybatis】mybatis动态order by 的问题, 注意 只需要把#{} 改成 ${} 即可
先说解决方案: 注意 只需要把#{} 改成 ${} 即可 再看 使用过程: Mapper.java List<IntegralGoods> findInUid(@Param(" ...
- 【GISER&&Painter】Chapter01:WebGL渲染初体验
基于上一篇OpenGL的渲染原理,这两周又陆续接触了一些关于WebGL绘图的一些内容,因为刚入门,很多东西又很晦涩,所以特意花了小半天的时间整理了一下,特此记录. 零 画一个多边形吧! 把一个多边形 ...