通用样式

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Dj_Fairy/article/details/82734673
html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: "思源黑体", Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
    overflow: hidden;
}

* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.speed{
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

input,
select,
button {
    font-size: 100%;
    outline: 0;
    vertical-align: middle;
    -webkit-appearance: none;
}

button {
    border: 0;
    background-color: transparent;
    background-clip: padding-box;
}

ul {
    list-style: none;
}

img {
    border: none;
    vertical-align: baseline;
    pointer-events: none;
}

.lf {
    float: left;
}

.rt {
    float: right;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

猜你喜欢

转载自blog.csdn.net/Dj_Fairy/article/details/82734673