京东base.css

body,p,h1,h2,h3,h4,h5,h6,ul,ol,dl,li,dt,dd{
/* 默认有边距,都要清除 /
margin: 0;
padding: 0;
/字体设置/
font-size: 14px;
font-family: “Microsoft Yahei”,sans-serif;
color: #ccc;
/
去掉列表的原点 /
list-style: none;
/
默认鼠标 */
cursor: default;
}

/可选/
html,body{
width: 100%;
height: 100%;
font-size: 100px!important;
}

/行内块元素/
input,img{
margin: 0;
padding: 0;
border: 0 none;
outline-style: none;
vertical-align: bottom;
}

/行内元素/
a,a:active,a:visited{
/下划线和颜色/
text-decoration: none;
color: #ccc;
}

a:hover{
color:#333;
}

textarea{
/* 边框清零 /
border:none;
/
轮廓线清零 /
outline: none;
/
防止文本域被随意拖拽 */
resize: none;
}

i{
/文字样式/
font-style: normal;
}

table{
/边框合并/
border-collapse:collapse;
border-spacing:0;
}

/* 使用伪元素清除浮动 */
.clearfix::before,
.clearfix::after{
content:"";
height: 0;
line-height: 0;
display: block;
visibility: none;
clear: both;
}

.clearfix {
*zoom: 1;
}

/* 版心*/
.w{
width: 1883px;
margin: 0 auto;
}

/可选/
/单选框和复选框的配置,一般是分开的/
input[type=“radio”],input[type=“checkbox”]{
appearance: none;
-webkit-appearance: none;
outline: none;
display: none;
}

label{
display: inline-block;
cursor: pointer;
}

label input[type=“radio”]+span,label input[type=“checkbox”]+span{
width: 16px;
height: 16px;
display: inline-block;
background: url("…/images/nocheck.png") no-repeat;
}

label input[type=“radio”]:checked+span,label input[type=“checkbox”]:checked+span{
background: url("…/images/check.png") no-repeat;
}

label input[type=“radio”]:checked~i,label input[type=“checkbox”]:checked~i{
color: #38d6ff;
}

/可选/
/* 自定义数字框配置 */
input[type=“number”]{
width: 76px;
height: 36px;
background-color: rgba(5,45,82,0.4);
border: 2px solid #ccc;
border-radius: 4px;
color: #fff;
font-size: 20px;
padding: 0 10px;
}

input[type=“number”]::-webkit-inner-spin-button{
-webkit-appearance: none;
}

input[type=“number”]+div{
width: 30px;
height: 40px;
padding-left: 2px;
cursor: pointer;
}

input[type=“number”]+div > .count_add{
display: block;
width: 28px;
height: 19px;
background: url("…/images/count_add.png") no-repeat;
background-size: contain;
margin-bottom: 2px;
}

input[type=“number”]+div > .count_subtract{
display: block;
width: 28px;
height: 19px;
background: url("…/images/count_subtract.png") no-repeat;
background-size: contain;
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值