mint-ui
Version:
Mobile UI elements for vue.js
44 lines (42 loc) • 881 B
CSS
.mint-swipe {
overflow: hidden;
position: relative;
height: 100%;
}
.mint-swipe-items-wrap {
position: relative;
overflow: hidden;
height: 100%;
}
.mint-swipe-items-wrap > div {
position: absolute;
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
width: 100%;
height: 100%;
display: none
}
.mint-swipe-items-wrap > div.is-active {
display: block;
-webkit-transform: none;
transform: none;
}
.mint-swipe-indicators {
position: absolute;
bottom: 10px;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.mint-swipe-indicator {
width: 8px;
height: 8px;
display: inline-block;
border-radius: 100%;
background: #000;
opacity: 0.2;
margin: 0 3px;
}
.mint-swipe-indicator.is-active {
background: #fff;
}