/** 全局样式清除 **/
/*@font-face {
    font-family:HarmonyOS_Sans_SC;
    font-style: normal;
    font-display: fallback;
    src: url('../font/HarmonyOSHans-Light.woff2') format("woff2");
    font-weight: normal;
}*/
@font-face {
    font-family:HarmonyOS_Sans_SC;
    font-style: normal;
    font-display: fallback;
    src: url('../font/HarmonyOSHans-Regular.woff2') format("woff2");
    font-weight: normal;
}
@font-face {
    font-family:HarmonyOS_Sans_SC;
    font-style: normal;
    font-display: fallback;
    src: url('../font/HarmonyOSHans-Medium.woff2') format("woff2");
    font-weight: bold
}
/** 设置默认字体 **/
body, button, input, select, textarea {
    font:16px HarmonyOS_Sans_SC,Microsoft YaHei UI,Helvetica Neue,Helvetica,PingFang SC,微软雅黑,Tahoma,Arial,sans-serif;
    color: #333;
}
/** 清除内外边距 **/
body, h1, h2, h3, h4, h5, h6, hr, p,
blockquote, /* structural elements 结构元素 */
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
pre, /* text formatting elements 文本格式元素 */
form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
th, td, /* table elements 表格元素 */
img /* img elements 图片元素 */
{
    border: medium none;
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}
em {
    font-style: normal;
}
/** 重置列表元素 **/
ul, ol {
    list-style: none;
}
/** 重置超链接元素 **/
a {
    text-decoration: none;
    color: #424d68;
    -moz-transition:.3s; /* Firefox 4 */
    -webkit-transition:.3s; /* Safari and Chrome */
    -o-transition:.3s; /* Opera */
    transition:.3s;
}
a:hover {
    text-decoration: none;
    -moz-transition:.3s; /* Firefox 4 */
    -webkit-transition:.3s; /* Safari and Chrome */
    -o-transition:.3s; /* Opera */
    transition:.3s;
}
/** 重置图片元素 **/
img {
    border: 0;
}
/** 重置表格元素 **/
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/** 设置全局样式 **/
html,body{
    min-width: 1340px;
    background-color: #fff;
}
/**回到顶部**/
.to-top{
    position: fixed;
    right: 20px;
    bottom: 30px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    padding: 10px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    border-radius: 12px;
    z-index: 999;
    visibility: hidden;
}
.to-top-img{
    width: 30px;
    height: 30px;
    background: url("../img/to-top.png")  no-repeat center center ;
    background-size: contain;
}
/*
<div class="to-top">
  <div class="to-top-img"></div>
</div>
*/