@tarojs/components
Version:
28 lines • 655 B
CSS
.taro-picker-view-container {
display: flex;
position: relative;
}
.taro-picker-view-mask-container {
display: flex;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
flex-direction: column;
pointer-events: none;
}
.taro-picker-view-mask-indicator {
display: flex;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
height: 50px;
}
.taro-picker-view-mask-top {
flex: 1;
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6));
}
.taro-picker-view-mask-bottom {
flex: 1;
background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6));
}