zarm-web
Version:
基于 React 的桌面端UI库
49 lines • 981 B
CSS
.ui-swipe {
position: relative;
overflow: hidden;
}
.ui-swipe .ui-swipe-items .ui-swipe-item {
position: relative;
display: inline-block;
width: 100%;
cursor: pointer;
}
.ui-swipe .ui-swipe-items .ui-swipe-item:after {
clear: both;
}
.ui-swipe .ui-swipe-items .ui-swipe-item .ui-swipe-pic img {
width: 100%;
height: auto;
}
.ui-swipe .ui-swipe-items .ui-swipe-item .ui-swipe-info {
position: absolute;
left: 20px;
bottom: 30px;
}
.ui-swipe .ui-swipe-items .ui-swipe-item .ui-swipe-info .ui-swipe-title {
color: #fff;
}
.ui-swipe .ui-swipe-pagination {
position: absolute;
right: 10px;
bottom: 10px;
}
.ui-swipe .ui-swipe-pagination ul {
list-style: none;
margin: 0;
padding: 0;
}
.ui-swipe .ui-swipe-pagination ul li {
margin: 1px;
width: 8px;
height: 8px;
border-radius: 50%;
border: 1px solid #fff;
cursor: pointer;
}
.ui-swipe .ui-swipe-pagination ul li.active {
margin: 0;
width: 10px;
height: 10px;
background: #fff;
}