首页 > 技术文章 > Baes.css

ruogu 2019-06-23 15:07 原文

这个公共样式还不错

html,body,ul,li,ol,img,a,p,div,form,input,h1,h2,h3,h4.h5,h6{
    margin: 0;
    padding: 0;
    /*盒模型*/
    box-sizing: border-box;
    /*移动端点击特效*/
    -webkit-tap-highlight-color: transparent;
}
html{
    font-family:"微软雅黑";
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 13px;
  }

html,body{
    height: 100%;
    width: 100%;
}

a,
a:hover{
    color: #eeeeee;
    text-decoration: none;
}
ul{
    list-style: none;
}
input{
    /*清除阴影*/
    outline: none;
    border: none;
    border:1px solid #cccccc;
}
.clearfix::before,
.clearfix:after{
    content: '';
    display: block;
    height: 0;
    line-height: 0px;
    clear: both;
    visibility: hidden;
}

  

推荐阅读