jquery joyCode.实现验证码分隔输入效果代码
代码语言:html
所属分类:表单美化
代码描述:jquery joyCode.实现验证码分隔输入效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> .verify-item { margin: 0; padding: 0; } .verify-item::before, .verify-item::after { content: ' '; display: block; clear: both; } .verify-item .code-input-item { display: inline-block; height: 38px; width: 38px; margin-right: 8px; } .verify-item .code-input-item:last-child { margin-right: 0; } .verify-item .code-input-item input[type="text"] { width: 100%; height: 100%; border: 1px solid #d2d2d2; border-radius: 3.5px; outline: 0; text-align: center; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; font-size: 16px; font-weight: 600; color: #999; } .verify-wrap { width: 500px; margin: 100px auto; } .verify-wrap ul { width: auto; display: flex; justify-content: center; } .verify-wrap ul .code-input-item { margin-right: 15px; } .control-list { text-align: center; margin-top: 25px; } .control-list a { display: inline-block; margin: 8px; text-dec.........完整代码请登录后点击上方下载按钮下载查看
网友评论0