Donner DKB-10 Keyboard Bench with Storage, Brown
.flex {
display: flex;
}
.bg-cover {
background-size: cover;
}
.pc\:none {
display: none;
}
.pc\:flex {
display: flex;
}
@media (max-width:750px) {
.mb\:flex {
display: flex;
}
.mb\:none {
display: none;
}
.mb\:block {
display: block;
}
}
/* 背景轮播图样式 */
.bg-swiper {
width: 100%;
position: relative;
overflow: hidden;
/* 模块与下方距离 */
margin-bottom: 0px;
line-height: 1.25;
}
.bg-swiper-container {
width: 100%;
height: 100%;
}
.bg-swiper-container img {
width: 100%;
height: 100%;
object-fit: cover;
transform: translateX(0);
transition: transform .4s;
margin: 0;
}
.bg-swiper-text {
position: absolute;
/* pc文本框与上方距离 */
top: 50%;
transform: translateY(-50%);
/* pc文本框与左边距离 */
left: 80px;
/* 文本框背景颜色与透明度 */
background-color: rgba(200, 200, 200, 0.8);
z-index: 4;
/* 文本框内边距,第一个值是上下,第二个值是左右 */
padding: 40px 40px;
/* 文本框长度 */
width: 400px;
box-sizing: border-box;
}
.bg-swiper-title {
/* pc标题大小 */
font-size: 18px;
}
.bg-swiper-dis {
/* pc简述大小 */
font-size: 14px;
}
.arrow-l,
.arrow-r {
position: absolute;
z-index: 3;
top: 50%;
cursor: pointer;
user-select: none;
}
.arrow-l i,
.arrow-r i {
width: 24px;
height: 24px;
display: block;
position: relative;
}
:root {
/* 背景轮播图箭头颜色 */
–bg-swiper-arrow-color: #000000;
}
.arrow-l i::before,
.arrow-r i::before {
content: “”;
display: block;
width: 24px;
height: 2px;
background-color: var(–bg-swiper-arrow-color);
position: absolute;
top: 0;
}
.arrow-l i::after,
.arrow-r i::after {
content: “”;
display: block;
width: 2px;
height: 24px;
background-color: var(–bg-swiper-arrow-color);
position: absolute;
right: 0;
}
.arrow-l {
transform: rotateZ(-135deg);
left: 20px;
}
.arrow-r {
transform: rotateZ(45deg);
right: 20px;
}
.bg-swiper-point {
width: 100%;
justify-content: center;
position: absolute;
/* 指示点与下方距离 */
bottom: 20px;
z-index: 4;
}
.bg-swiper-point span {
/* 指示点大小,两个值都需要调整为一样大小才是圆形 */
width: 12px;
height: 12px;
border-radius: 50%;
/* 指示点颜色 */
background-color: #b0b8c1;
/* 指示点左右距离,只需调整第二个值 */
margin: 0 8px;
}
.bg-swiper-point span.on {
/* 选中指示点颜色 */
background-color: #404040;
}
@media (max-width:750px) {
.bg-swiper {
width: 100%;
height: auto;
}
.bg-swiper-text {
width: 100%;
position: static;
transform: translate(0);
}
.bg-swiper-point {
position: static;
/* M端指示点与上方距离 */
margin-top: 12px;
}
.bg-swiper-title {
/* M端标题大小 */
font-size: 24px;
}
.bg-swiper-dis {
/* M端简述大小 */
font-size: 18px;
}
}
/* 背景轮播图样式 END */
.flex {
display: flex;
}
.bg-cover {
background-size: cover;
}
.pc\:none {
display: none;
}
.pc\:flex {
display: flex;
}
@media (max-width:750px) {
.mb\:flex {
display: flex;
}
.mb\:none {
display: none;
}
.mb\:block {
display: block;
}
}
/* 四分图样式 */
.imgandtext4 {
width: 100%;
justify-content: space-between;
/* 模块与下方距离 */
margin-bottom: 10px;
line-height: 1.25;
}
.imgandtext4-item {
/* pc端单个宽度,最大为25% */
width: 24%;
}
.imgandtext4-item img {
width: 100%;
margin:0;
}
.imgandtext4-title {
/* pc标题大小 */
font-size: 18px;
/* pc标题与上下方距离,第一个值为上,第三个值为下 */
margin: 8px 0 8px;
/* 标题颜色 */
color: #111111;
}
.imgandtext4-dis {
/* pc简述大小 */
font-size: 14px;
/* 简述颜色 */
color: #333333;
}
@media (max-width:750px) {
.imgandtext4 {
width: 100%;
justify-content: space-evenly;
flex-wrap: wrap;
}
.imgandtext4-item {
/* M端单个图宽度,最大为50% */
width: 49%;
}
.imgandtext4-title {
/* M端标题大小 */
font-size: 18px;
}
.imgandtext4-dis {
/* M端简述大小 */
font-size: 14px;
}
}
/* 四分图样式 END */