hystmodal实现模态弹出层弹出框效果代码
代码语言:html
所属分类:弹出层
代码描述:hystmodal实现模态弹出层弹出框效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/hystmodal.css"><script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/hystmodal.min.js"></script> <style> *{ margin: 0; padding: 0; list-style: none; font-style: normal; } *:focus { outline: 2px dotted #afb3b9; outline-offset: 2px; } .container{ max-width: 1200px; margin:0 auto; } html, body{ font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; font-size: 18px; line-height: 1.2; color: #101721; background: #f9f9fb; } body{ overflow-x: hidden; min-height: 2000px; } input, button, textarea, select{ font-family: inherit; } a{ text-decoration: none; color:#5089e9; } a:hover{ color:#000; } .mshow{ display: none; } .wrapper{ display: block; overflow: hidden; } .flexi { display: flex; flex-flow: row nowrap; align-items: center; justify-content: center; } .hide{ display: none; } input[type=submit], button{ -webkit-appearance: none; -moz-appearance: none; appearance: none; } .button{ display: inline-flex; flex-flow: row nowrap; align-items: center; justify-content: center; text-align: center; padding: 0 15px 2px; font-family: inherit; font-size: 18px; font-weight: 500; line-height: 20px; box-sizing: border-box; cursor: pointer; border:none; position: relative; background: none; border:1px solid #000; color: #000; } .button:hover{ background-color: #000; color:#fff; } .button:active{ top:1px; } .button:disabled{ background: #ddd; border-color:#d5d5d5; color:#fff; } .scr3, .bluescr { background-color: #6b83a6; padding: 90px 0 60px; } .block-title--white { color:#fff; } .scr3__wrap { padding-top: 60px; } .demobuttons { display: flex; height: 50px; color:#fff; border-color:#fff; font-size: 14px; white-space: nowrap; margin: 0 15px 15px; min-width: 200px; } .demobuttons:hover{ color:#6b83a6; background-color: #fff; } .demobuttons--min{ display: flex; color:#6b83a6; background-color: #fff; margin: 60px auto 0; max-width: 240px; } .block-title { text-align: center; color: #fff; font-size: 48px; line-height: 1.2; font-weight: 300; } .hystmodal__window{ border-radius: 5px; padding: 30px 30px; } .hystmodal__styled{ font-size: 16px; line-height: 1.5; } .hystmodal__styled p{ margin-bottom: 0.8em; } .hystmodal__styled a{ color:#6b83a6; } .hystmodal__styled .h1{ font-size:.........完整代码请登录后点击上方下载按钮下载查看
网友评论0