Html
    Css
    Js

    
                        
.alieditContainer {
	position:relative;
}
.alieditContainer .i-text {
	position:absolute;
	color:#fff;
	opacity:0.2;
	width:306px;
	height:48px;
	font-size:12px;
	left:0;
	-webkit-user-select:initial;
	/*取消禁用选择页面元素*/
				z-index:9;
	padding:0;
	borde:0;
}
.alieditContainer .sixDigitPassword {
	width:306px;
	height:22px;
	cursor:text;
	background:#fff;
	outline:none;
	position:relative;
	padding:13px 0;
	border:1px solid #ddd;
	border-radius:5px;
}
.alieditContainer .sixDigitPassword i {
	width:50px;
	height:16px;
	float:left;
	display:block;
	padding:4px 0;
	border-left:1px solid #cccccc;
}
.alieditContainer .sixDigitPassword i:first-child {
	border-left:0;
}
.alieditContainer .sixDigitPassword i.active {
	background-image:url("https://t.alipayobjects.com/images/rmsweb/T1nYJhXalXXXXXXXXX.gif");
	background-repeat:no-repeat;
	background-position:center center;
}
.alieditContainer .sixDigitPassword b {
	display:block;
	margin:5px auto 4px auto;
	width:7px;
	height:7px;
	overflow:hidden;
	display:none;
	/*visibility:hidden;
	*/
				background:#000;
	border-radius:100%;
}
.alieditContainer .sixDigitPassword .guangbiao {
	width:50px;
	height:48px;
	position:absolute;
	display:block;
	left:0px;
	top:-1px;
	border:1px solid rgba(82,168,236,.8);
	border:1px solid #00ffff\9;
	border-radius:5px;
	visibility:visible;
	-webkit-box-shadow:inset 0px 2px 2px rgba(0,0,0,0.75),0 0 8px rgba(82,168,236,0.6);
	box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:2.1.1
 立即下载

H5密码输入自动跳格效果

1
      仰望 ?? 天空0
      2018/4/3 10:21:13
      ios上面会有光标出现
      回复