一、input标签的placeholder的设置

input::-webkit-input-placeholder{ /*WebKit browsers*/
//重置样式
} input::-moz-input-placeholder{ /*Mozilla Firefox*/
//重置样式
} input::-ms-input-placeholder{ /*Internet Explorer*/
//重置样式
}

  
二、input标签的获得焦点的边框设置

//在input的css中加
outline:none

outline:medium; input{ outline:medium;}
/*获取焦点*/
input:focus{
border: 1px dolid #EEE;
}

  
三、去掉列表的默认样式

li {
list-style-type: none;
}
ol, ul {
list-style: none;
}

  
四、自己所用的css reset

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-family: "微软雅黑";
font-size: 100%;
font: inherit;
vertical-align: baseline;
} h1, h2, h3, h4, h5, h6 {
font-weight: bold;
} fieldset {
margin: 60px 0;
text-align: center;
border-top: 2px solid #61CDE7;
} legend {
padding: 0 80px;
font-size: 22px;
color: #61CDE7;
} a {
text-decoration: none;
} a:hover {
cursor: pointer;
} .fl {
float: left;
} .fr {
float: right;
} button {
border: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
} ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
} .clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}

  

最新文章

  1. python——线程与多线程进阶
  2. 从下往上看--新皮层资料的读后感 第四部分 来自神经元的设计-perceptron 感知机
  3. .net中从GridView中导出数据到excel(详细)
  4. su认证失败&文件夹里打开终端的方法&atom安装
  5. 104. Maximum Depth of Binary Tree
  6. spring2.5
  7. c# 分页控件
  8. 如何编写一个简单的makefile
  9. 9.7noip模拟试题
  10. Emmet 插件使用教程
  11. Mongodb入门并使用java操作Mongodb
  12. 关于VerilogHDL生成的锁存器
  13. 理解JavaScript继承
  14. 64. Minimum Path Sum(中等, 又做出一个DP题, 你们非问我开不开心,当然开心喽!^^)
  15. Docker 容器镜像删除
  16. Spring整合MybatisPlus学习笔记
  17. [物理学与PDEs]第1章第4节 电磁能量和电磁动量, 能量、动量守恒与转化定律 4.3 电磁能量 (动量) 密度, 电磁能量流 (动量流) 密度
  18. reids高可用(灾难备份-持久化)
  19. JavaScript 中的匿名函数((function() {})();)与变量的作用域
  20. 一个简单的购物金额结算(JAVA)

热门文章

  1. 关于使用 Spring 发送简单邮件
  2. JS之JSON.parse和JSON.stringify
  3. Java与面向对象之随感(1)
  4. NodeJS websocket qr based on location
  5. Java代码中获取Json的key值
  6. HBase 笔记
  7. 20165336 2017-2018-2 《Java程序设计》第1周学习总结
  8. 手工sql注入简单入门
  9. win 右键菜单栏出现sublime打开方式
  10. tortoisegit 常见错误disconnected no supported authentication methods available(server sent: publickey)