vue实现一个可自定义密码生成器
代码语言:html
所属分类:其他
代码描述:vue实现一个可自定义密码生成器
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> * { box-sizing: border-box; } body { font-size: 15px; font-family: Tahoma,Verdana,Segoe,sans-serif; color: #444; background-color: #fefefe; background-image: linear-gradient(-45deg, #018bfd 0%, #3F51B5 100%); background-repeat: no-repeat; background-size: cover; padding: 0 20px; margin: 0; min-height: 100vh; position: relative; } .header { padding: 2em 0; text-align: center; } .header .title { font-size: 1.2em; font-weight: bold; color: #fff; } .header .title img { width: 12px; margin: 0 2px 2px; vertical-align: bottom; } .wrapper { width: 400px; max-width: 100%; min-height: 400px; margin: 40px auto; position: relative; border: 1px solid #eee; border-radius: 3px; padding: 40px 20px; font-size: 0.85em; -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.05); box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.05); background-color: #f4f7fc; position: relative; transition: all ease-in 0.25s; } h1 { text-align: center; margin: 0 0 40px; } .field-wrap { margin-bottom: 20px; } form { overflow: overlay; margin-top: 30px; } label { display: inline-block; min-width: 20%; } .range-slider_wrapper { position: relative; width: 100%; margin: 10px 0 30px; } .range-slider { -webkit-appearance: none; appearance: none; background: #9fd2fa; width: 100%; border-radius: 3px; vertical-align: bottom; margin: 0; height: 6px; cursor: pointer; transition: all ease-in 0.25s; } .range-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; border-radius: 0; border: 0; position: relative; width: 4px; height: 15px; background-color: #2799f3; } .range-slider::-moz-range-thumb { -moz-appearance: none; appearance: none; border-radius: 0; border: 0; position: relative; width: 4px; height: 15px; background-color: #2799f3; } .range-slider:focus { outline: none; } .range-slider:hover::-webkit-slider-thumb, .range-slider:active::-webkit-slider-thumb { top: 0px; } ::-moz-range-track { background: transparent; border: 0; } input::-moz-focus-inner, input::-moz-focus-outer { border: 0; } .range-value { text-transform: capitalize; float: right; vertical-align: bottom; min-width: 30px; display: inline-block; text-align: center; border-radius: 3px; font-size: 0.9em; } .slider-bar { position: absolute; height: 6px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; background: #3fa4f4; left: 0; bottom: 0; pointer-events: none; } .slider-strength .range-slider { cursor: default; } .slider-strength .slider-bar { border-radius: 3px; transition: all ease-in 0.25s; } .slider-strength .range-slider::-webkit-slider-thumb { background-color: transparent.........完整代码请登录后点击上方下载按钮下载查看
网友评论0