看了张鑫旭大神写的 css reset的重新审视,收益匪浅,对自己的reset.css进行修改,精简。分享一下
body,ul,ol,dl,dd,p,h1,h2,h3,h4,h5,h6{
margin: 0;
padding: 0;
}
body{
font-family: arial, helvetica, sans-serif;
}
img {
border: 0;
vertical-align: middle;
}
ul,ol{
list-style: none;
}
input {
padding-top: 0;
padding-bottom: 0;
}
input::-moz-focus-inner{
border: 0;
padding: 0;
}
select,input {
vertical-align: middle;
}
textarea{
resize: none;
}
table{
border-collapse: collapse;
}
em,i {
font-style: normal;
}
a{
text-decoration: none;
}
button{
cursor: pointer;
}