css公共样式

@charset “utf-8”;

/* CSS Document */
/全局样式/

body {
font-family: “微软雅黑”, Arial, Verdana, Helvetica, sans-serif, “宋体”;
font-size: 12px;
color: #333;
background: #F8F8F8;
/* background: #a29c9c; */
width: 100%;
font-size: 0.5rem;
}

html {
font-size: 62.5%;
}

body {
font-size: 12px;
font-size: 1.2rem;
}

p {
font-size: 14px;
font-size: 1.4rem;
}

.row {
margin: 0;
}

.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
padding: 0;
}

@media only screen and (min-width: 320px) {
html {
font-size: 62.5% !important;
}
}

@media only screen and (min-width: 640px) {
html {
font-size: 125% !important;

}

}

@media only screen and (min-width: 768px) {
html {
font-size: 150% !important;
}
}

@media only screen and (max-width: 1000px) and (min-width: 768px) {
html {
font-size: 150% !important;
}
}

@media only screen and (min-width: 1242px) {
html {
font-size: 187.5% !important;
}
}

body,
ul,
ol,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
table,
td,
th,
img,
div,
tr,
p,
select,
dl,
dt,
dd {
margin: 0;
padding: 0;
outline: none;
}

li {
list-style: none;
}

img {
border: 0 none;
vertical-align: middle;
}

a {
text-decoration: none;
color: #333;
outline: none;
cursor: pointer;
}

a:focus {
outline: none;
text-decoration:none;
}

.clear {
clear: both;
height: 0px;
display: block;
line-height: 0px;
visibility: hidden;
overflow: hidden;
zoom: 1;
}

.flex-star {
display: flex;
align-items: flex-end;
justify-content: flex-start;
}

input {
vertical-align: middle;
border: none;
background: none;
}

select {
vertical-align: middle;
border: none;
background: none;
}

button {
text-align: center;
border: 0;
cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
font-size: 12px;
}

textarea,
input {
word-wrap: break-word;
word-break: break-all;
padding: 0px;
background: none;
}

label {
cursor: pointer;
}

input[type=button]::-moz-focus-inner,
input[type=submit]::-moz-focus-inner {
border: none;
}

input[type=button],
input[type=submit] {
cursor: pointer;
}

input:focus {
outline: none;
}

/* 左浮动*/
.fl {
float: left;
}

/* 右浮动*/
.fr {
float: right;
}

/* 鼠标变小手*/
.cs {
cursor: pointer;
}

/* 超过一行内容多的变成… */
.dian1 {
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}

/* 超过两行行内容多的变成… */
.dian2 {
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}

/* 超过三行内容多的变成… */
.dian3 {
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}

/* 12px的字体至28px 如果你是其他单位的如rem等,请自行斟酌修改使用*/
.fs12 {
font-size: 12px;
}

.fs14 {
font-size: 14px;
}

.fs16 {
font-size: 16px;
}

.fs18 {
font-size: 18px;
}

.fs20 {
font-size: 20px;
}

.fs22 {
font-size: 22px;
}

.fs24 {
font-size: 24px;
}

.fs26 {
font-size: 26px;
}

.fs28 {
font-size: 28px;
}

.fixed:after {
content: “.”;
display: block;
height: 0;
clear: both;
visibility: hidden;
line-height: 0;
}

html .fixed {
*zoom: 1;
}

/* 清除浮动 */
.cb {
clear: both;
}

/* 不让用户选中 */
.noselect {

-webkit-touch-callout: none;
/* iOS Safari */

-webkit-user-select: none;
/* Chrome/Safari/Opera */

-khtml-user-select: none;
/* Konqueror */

-moz-user-select: none;
/* Firefox */

-ms-user-select: none;
/* Internet Explorer/Edge */

user-select: none;
/* Non-prefixed version, currently

not supported by any browser */

}

.scrollbarchange::-webkit-scrollbar {
/滚动条整体样式/
width: 5px;
/高宽分别对应横竖滚动条的尺寸/
height: 1px;
position: absolute;
right: 0px;
}

.scrollbarchange::-webkit-scrollbar-thumb {
/滚动条里面小方块/
border-radius: 10px;
background: #e0e0e0;
}

.scrollbarchange::-webkit-scrollbar-track {
/滚动条里面轨道/
border-radius: 10px;
background: #f2f2f2;
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值