﻿@charset "UTF-8";

* {
    /*页面点击链接时会出现高亮框，此代码用来解决*/
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    /*禁用手机浏览器的用户选择文本(复制)功能 */
    /*-webkit-user-select: none;*/
    /*设置怪异盒子*/
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /*解决IOS上面的按钮显示问题*/
    -webkit-appearance: none;
    /* 移动端滑动流畅性 */
    /* ios5+ */
    -webkit-overflow-scrolling: touch;
    /* 解决动画会导致页面抖动闪屏 */
    -webkit-backface-visibility: hidden;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
dl,
dd,
p,
textarea,
input,
select,
option,
form {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

input:focus,
textarea:focus,
button,
select:focus {
    outline: none;
}

ul,
ol {
    list-style: none;
}


input,
select,
textarea {
    color: inherit;
    font-size: inherit;
}

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

html {
    width: 100%;
    height: 100%;
    /*font-size: 100px;
    此时定义了在750的设计稿下  1rem=100px*/
}

body {
    width: 100%;
    height: 100%;
    font-size: 24px;
}



/*多行省略？*/
.ellipsis1 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ellipsis2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* autoprefixer: off  防止代码不生效*/
    -webkit-box-orient: vertical;
    /* autoprefixer: on */
}

/* 禁止文本选中 */
.noSelect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
