zxcvbn实现密码强度及破解时间检测代码
代码语言:html
所属分类:其他
代码描述:zxcvbn实现密码强度及破解时间检测代码
代码标签: zxcvbn 密码 强度 破解 时间 检测 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@500&family=Source+Sans+3:wght@500&display=swap" rel="stylesheet"> <style> body { min-height: 100vh; padding: 10vh 20px 20px 20px; box-sizing: border-box; } div { display: grid; grid-gap: 16px; max-width: 720px; margin: 0 auto; } div span { font-family: "Source Sans 3", sans-serif; font-weight: 500; color: #7e7e8b; } div span a { color: rgba(110, 123, 242, 0.8); transition: color 0.15s; } div span a:hover { color: #6e7bf2; } div input { font-family: "Source Sans 3", sans-serif; font-weight: 500; display: block; -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 5px; padding: 6px 12px; lineheight: 21px; font-size: 14px; width: 150px; border: none; outline: none; color: #7e7e8b; background-color: #f1f1f3; transition: background-color 0.15s, box-shadow 0.15s; } div input::-moz-placeholder { opacity: 0.75; color: #7e7e8b; -moz-transition: opacity 0.15s; transition: opacity 0.15s; } div input:-ms-input-placeholder { opacity: 0.75; color: #7e7e8b; -ms-transition: opacity 0.15s; transition: opacity 0.15s; } div input::placeholder { opacity: 0.75; color: #7e7e8b; transition: opacity 0.15s; } div input:hover { background-color: #ececef; } div input:hover::-moz-placeholder { opacity: 1; } div input:hover:-ms-input-placeholder { opacity: 1; } div input:hover::placeholder { opacity: 1; } div input:focus { background-color: white; box-shadow: 0 0 0 1.5px rgba(110, 123, 242, 0.5); } div small { font-family: "Source Sans 3", sans-serif; font-weight: 500; color: #7e7e8b; font-size: 12px; opacity: 0.75; display: block; text-transform: capitalize.........完整代码请登录后点击上方下载按钮下载查看
网友评论0