yuminge-app/yun-min-program-plugin-master/mycomponent/payKeyboard/passwordInput/passwordInput.wxss

67 lines
1.1 KiB
Plaintext

/* mycomponent/payKeyboard/passwordInput/passwordInput.wxss */
.passinput {
display: flex;
width: 100%;
height: 50px;
cursor: pointer;
}
.passinput .passinput_item {
position: relative;
display: flex;
flex: 1;
align-items: center;
justify-content: center;
height: 100%;
font-size: 20px;
line-height: 1.2;
background-color: #fff;
}
.passinput .passinput_item .icon {
position: absolute;
top: 50%;
left: 50%;
width: 10px;
height: 10px;
background-color: #000;
border-radius: 100%;
transform: translate(-50%, -50%);
}
.passinput .passinput_item .van-password-input_cursor {
position: absolute;
top: 50%;
left: 50%;
width: 1px;
height: 40%;
background-color: #323233;
transform: translate(-50%, -50%);
animation: 1s van-cursor-flicker infinite;
}
.passinput .passinput_item.hairline--left::after {
position: absolute;
box-sizing: border-box;
content: ' ';
pointer-events: none;
top: -50%;
right: -50%;
bottom: -50%;
left: -50%;
border: 1px solid #ebedf0;
transform: scale(0.5);
}
@keyframes van-cursor-flicker{
0%{
opacity: 0;
}
50%{
opacity: 1;
}
100%{
opacity: 0;
}
}