返回顶部

收藏

非响应css初始化

更多
@charset "gb2312";
* {
    margin: 0;
    padding: 0;
    outline: none;
}
a {
    color:#333;
    text-decoration: none;
}
/*图片|输入框居中对齐*/
img, input {
    vertical-align: middle;
    border:0;
    outline:none;
}
img, button {
    border: none;
}
li {
    list-style: none;
}
.clear {
    clear: both;
    overflow: hidden;
}
.h5 {
    clear: both;
    overflow: hidden;
    height: 5px;
}
.h8 {
    clear: both;
    overflow: hidden;
    height: 8px;
}
.h10 {
    clear: both;
    overflow: hidden;
    height: 10px;
}
/*解决表单元素不继承父级*/
body, button, input, select, textarea {
    font: 12px \5b8b\4f53, arial, sans-serif;
}
input, select, textarea {
    font-size: 100%;
}
/*去掉table的边距*/
table {
    border-spacing: 0;
    border-collapse: collapse;
}
/*修复浮动*/
.clearfix:after, .clearfix:before {
    display: block;
    visibility: hidden;
    clear: both;
    overflow: hidden;
    height: 0;
    content: '.';
}
/* IE6 */
* html .clearfix {
    zoom: 1;
}
/* IE7 */
* + html .clearfix {
    zoom: 1;
}

标签:css

收藏

0人收藏

支持

0

反对

0

发表评论