jquery实现密码输入强度检测效果代码
代码语言:html
所属分类:其他
代码描述:jquery实现密码输入强度检测效果代码。
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> @import url("https://fonts.googleapis.com/css?family=Special+Elite&display=swap"); body { background: #553e8f; min-height: 100vh; display: flex; justify-content: center; align-items: center; font-family: sans-serif; } * { box-sizing: border-box; } .pwGuide { position: relative; width: 250px; height: 160px; } .pwGuide .pwList { position: absolute; top: 25px; left: 52px; width: 194px; height: 104px; border-radius: 6px; background: #fff; box-shadow: inset 3px 0 0 #cfdae1; transform: rotate(-5deg) translate3d(0, 0, 0); font-family: 'Special Elite', cursive; font-size: 12px; } .pwGuide .pwList:before { content: ''; width: 2px; height: 100%; background: #e45998; position: absolute; left: 22px; } .pwGuide .pwList ul { padding: 13px 0 0 0; } .pwGuide .pwList ul li { padding-bottom: 3px; margin-bottom: 6px; padding-left: 34px; border-bottom: 1px solid #d8cbf5; } .pwGuide .pwList ul li span { position: relative; color: #423666; } .pwGuide .pwList ul li span:after { content: ''; width: 100%; height: 3px; background: #70d5b9; position: absolute; left: 0; top: 3px; transform-origin: left; transform: scaleX(0); transition: transform 0.4s ease; } .pwGuide .pwList ul li span.valid:after { transform: scaleX(1); } .pwGuide .pwCheck { position: absolute; fill: none; top: 84px; right: 10px; } .pwCheck { transform: scale(0); transition: transform 0.3s cubic-bezier(0.86, 0.45, 0.72, 1.2); } .pwCheck.p.........完整代码请登录后点击上方下载按钮下载查看
网友评论0