jquery+svg实现带声音模态层窗口关闭爆裂动画效果代码
代码语言:html
所属分类:弹出层
代码描述:jquery+svg实现带声音模态层窗口关闭爆裂动画效果代码,用到了howler.js、tween.js及html2canvas.js。
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!doctype html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>基于SVG超炫爆裂式关闭模态窗口特效</title> <style> body, html { font-size: 100%; padding: 0; margin: 0;} /* Reset */ *, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } /* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */ .clearfix:before, .clearfix:after { content: " "; display: table; } .clearfix:after { clear: both; } body{ background: #494A5F; color: #D5D6E2; font-weight: 500; font-size: 1.05em; font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo; } a{color: #2fa0ec;text-decoration: none;outline: none;} a:hover,a:focus{color:#74777b;} .htmleaf-container{ margin: 0 auto; overflow: hidden; } .grid { zoom: 1; } .grid:after, .grid:before { content: ''; display: table; } .grid:after { clear: both; } .grid .grid-bit { float: left; padding-left: 0.625rem; padding-right: 0.3125rem; } .grid .grid-bit:last-of-type { padding-right: 0.625rem; } .grid .grid-bit + .grid-bit { padding-left: 0.3125rem; } .grid--gutter-x2 .grid-bit { padding-left: 1.25rem; padding-right: 0.625rem; } .grid--gutter-x2 .grid-bit:last-of-type { padding-right: 1.25rem; } .grid--gutter-x2 .grid-bit + .grid-bit { padding-left: 0.625rem; } .grid--gutter-x3 .grid-bit { padding-left: 1.875rem; padding-right: 0.9375rem; } .grid--gutter-x3 .grid-bit:last-of-type { padding-right: 1.875rem; } .grid--gutter-x3 .grid-bit + .grid-bit { padding-left: 0.9375rem; } .grid--gutter-x4 .grid-bit { padding-left: 2.5rem; padding-right: 1.25rem; } .grid--gutter-x4 .grid-bit:last-of-type { padding-right: 2.5rem; } .grid--gutter-x4 .grid-bit + .grid-bit { padding-left: 1.25rem; } .grid--gutter-x5 .grid-bit { padding-left: 3.125rem; padding-right: 1.5625rem; } .grid--gutter-x5 .grid-bit:last-of-type { padding-right: 3.125rem; } .grid--gutter-x5 .grid-bit + .grid-bit { padding-left: 1.5625rem; } .grid--gutter-x6 .grid-bit { padding-left: 3.75rem; padding-right: 1.875rem; } .grid--gutter-x6 .grid-bit:last-of-type { padding-right: 3.75rem; } .grid--gutter-x6 .grid-bit + .grid-bit { padding-left: 1.875rem; } .grid--gutter-x7 .grid-bit { padding-left: 4.375rem; padding-right: 2.1875rem; } .grid--gutter-x7 .grid-bit:last-of-type { padding-right: 4.375rem; } .grid--gutter-x7 .grid-bit + .grid-bit { padding-left: 2.1875rem; } .grid--gutter-x8 .grid-bit { padding-left: 5rem; padding-right: 2.5rem; } .grid--gutter-x8 .grid-bit:last-of-type { padding-right: 5rem; } .grid--gutter-x8 .grid-bit + .grid-bit { padding-left: 2.5rem; } .grid--gutter-x9 .grid-bit { padding-left: 5.625rem; padding-right: 2.8125rem; } .grid--gutter-x9 .grid-bit:last-of-type { padding-right: 5.625rem; } .grid--gutter-x9 .grid-bit + .grid-bit { padding-left: 2.8125rem; } .grid--gutter-x10 .grid-bit { padding-left: 6.25rem; padding-right: 3.125rem; } .grid--gutter-x10 .grid-bit:last-of-type { padding-right: 6.25rem; } .grid--gutter-x10 .grid-bit + .grid-bit { padding-left: 3.125rem; } .grid--sliced .grid-bit:first-of-type { padding-left: 0; } .grid--sliced .grid-bit:last-of-type { padding-right: 0; } .grid-bit--1-20 { width: 5%; } .grid-bit--2-20 { width: 10%; } .grid-bit--3-20 { width: 15%; } .grid-bit--4-20 { width: 20%; } .grid-bit--5-20 { width: 25%; } .grid-bit--6-20 { width: 30%; } .grid-bit--7-20 { width: 35%; } .grid-bit--8-20 { width: 40%; } .grid-bit--9-20 { width: 45%; } .grid-bit--10-20 { width: 50%; } .grid-bit--11-20 { width: 55%; } .grid-bit--12-20 { width: 60%; } .grid-bit--13-20 { width: 65%; } .grid-bit--14-20 { width: 70%; } .grid-bit--15-20 { width: 75%; } .grid-bit--16-20 { width: 80%; } .grid-bit--17-20 { width: 85%; } .grid-bit--18-20 { width: 90%; } .grid-bit--19-20 { width: 95%; } .grid-bit--20-20 { width: 100%; } * { box-sizing: border-box; } .hint { font-size: 0.875rem; line-height: 1.5rem; color: #fff; position: absolute; letter-spacing: 0.0625rem; opacity: 0; } .hint--1 { width: 10rem; top: 15rem; left: -11.875rem; padding-top: 1.75rem; background: transparent url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iNzVweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgNzUgMTYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPlNsaWNlIDE8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJQYXRoLTY0LSstUGF0aC02NiIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzcuNTAwMDAwLCA4LjAwMDAwMCkgc2NhbGUoLTEsIDEpIHRyYW5zbGF0ZSgtMzcuNTAwMDAwLCAtOC4wMDAwMDApIHRyYW5zbGF0ZSgxLjAwMDAwMCwgMS4wMDAwMDApIiBzdHJva2U9IiNGRkZGRkYiIHN0cm9rZS13aWR0aD0iMiI+ICAgICAgICAgICAgPHBhdGggZD0iTTEuODMxOTg3OTgsMS4wNjk0OTI1MiBMMS4zODUyNTM5MSw1LjMyMTc3NzM0IEw1LjQyMDQxMDE2LDUuNjkyODcxMDkiIGlkPSJQYXRoLTY0IiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjQwMjgzMiwgMy4zODExODIpIHJvdGF0ZSgyMC4wMDAwMDApIHRyYW5zbGF0ZSgtMy40MDI4MzIsIC0zLjM4MTE4MikgIj48L3BhdGg+ICAgICAgICAgICAgPHBhdGggZD0iTTIuMDY2NDA2MjUsNC4xMzY3MTg3NSBDMi4wNjY0MDYyNSw0LjEzNjcxODc1IDMxLjY4MTI4MDEsLTUuMzAxMjE2NTggNzIuNzE2MzA4NiwxMy45OTY1ODIiIGlkPSJQYXRoLTY1IiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=") no-repeat right top; } .hint--2 { right: -10rem; top: -1.25rem; width: 9.375rem; padding-top: 0.625rem; padding-left: 0.625rem; text-align: right; background: transparent url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iNzRweCIgaGVpZ2h0PSIxOHB4IiB2aWV3Qm94PSIwIDAgNzQgMTgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPlNsaWNlIDE8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJQYXRoLTY0LSstUGF0aC02NSIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS4wMDAwMDAsIDEuMDAwMDAwKSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjIiPiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjgzMTk4Nzk3NywzLjA2OTQ5MjUyIEwwLjM4NTI1MzkwNiw3LjMyMTc3NzM0IEw0LjQyMDQxMDE2LDcuNjkyODcxMDkiIGlkPSJQYXRoLTY0IiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+ICAgICAgICAgICAgPHBhdGggZD0iTTEuMDY2NDA2MjUsNi4xMzY3MTg3NSBDMS4wNjY0MDYyNSw2LjEzNjcxODc1IDMzLjM1NTQ2ODgsLTEyLjU1NTY2NDEgNzEuNzE2MzA4NiwxNS45OTY1ODIiIGlkPSJQYXRoLTY1IiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=") no-repeat left top; } body, html { font-family: OpenSans, 'Open Sans', sans-serif; width: 100%; height: 100%; overflow: hidden; } body { background: transparent url("data:image/svg+xml;base64,PD94bWwgd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ljk1Mjk4Nzk4IiBpZD0iUGF0aC01MSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+") repeat left top; } .look { position: absolute; z-index: 1; color: #fe3a64; top: 50%; left: 50%; margin-left: -6.5625rem; margin-top: -3.4375rem; letter-spacing: 0.03125rem; font-size: 0.875rem; text-align: center; font-weight: bold; } .launch-button { font-size: 16px; color: #fff; background-color: #4acad9; box-shadow: 0 0 0 3.875rem #fff; border-radius: 0.375rem; text-align: center; width: 13.75rem; height: 2.8125rem; line-height: 2.8125rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.125rem; position: absolute; overflow: hidden; display: block; text-transform: uppercase; left: 50%; top: 50%; margin-left: -6.875rem; margin-top: -1.40625rem; } .launch-button:hover { cursor: pointer; } .launch-button:hover .launch-button__glare { right: -35%; -webkit-transition: all 0.4s linear; transition: all 0.4s linear; } .launch-button:active { opacity: 0.95; } .launch-button__glare { position: absolute; width: 45px; height: 200%; -webkit-transform: rotate(25deg); transform: rotate(25deg); background-color: rgba(255,255,255,0.5); top: -50%; right: 120%; } .launch-button__glare:after { content: ''; display: none; position: absolute; width: 20px; height: 100%; background: inherit; right: -15px; top: 0; } button, .button { border: 0; width: 100%; display: block; height: 2.5rem; border-radius: 0.375rem; font-size: 1rem; color: #fff; background: #222; letter-spacing: 0.0625rem; outline: none; } button:hover, .button:hover { cursor: pointer; opacity: 0.9; } button--grey, .button--grey { background: #cecece; } .modal-holder { position: absolute; width: 30rem; height: 28.125rem; z-index: 2; top: 50%; left: 50%; margin-left: -15rem; margin-top: -14.0625rem; } .modal-holder .svg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .modal-holder .break-parts { width: 100%; height: 100%; opacity: 0; z-index: 0; } .modal-holder .modal { position: absolute; z-index: 2; } .modal-holder .effect { position: absolute; top: -7.625rem; left: 0.125rem; z-index: 4; display: none; } .effect__burst { position: absolute; width: 3.625rem; height: 3.625rem; left: 20.125rem; top: 1.4375rem; opacity: 0.5; } .effect__circle { position: absolute; left: 25rem; top: 6.25rem; width: 6.25rem; height: 6.25rem; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .effect__line { -webkit-backface-visibility: hidden; backface-visibility: hidden; position: absolute; height: 56.25rem; width: 0.25rem; left: 28.0625rem; top: 9.375rem; -webkit-transform-origin: 50% 0; transform-origin: 50% 0; } .effect__line--1 { -webkit-transform: rotate(45deg); transform: rotate(45deg); } .effect__line--2 { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } .effect__line--3 { -webkit-transform: rotate(-135deg); transform: rotate(-135deg); } .effect__line--4 { -webkit-transform: rotate(-225deg); transform: rotate(-225deg); } .modal { background: #fff; border-radius: 0.4375rem; width: 100%; height: 100%; color: #222; text-align: center; letter-spacing: 0.0625rem; overflow: hidden; display: none; } .modal__close { position: absolute; top: 1.25rem; right: 1.25rem; display: inline-block; } .modal__close:before { content: ''; position: absolute; width: 300%; height: 300%; top: -100%; left: -100%; } .modal__close:hover { opacity: 0.75; cursor: pointer; } .modal__close .icon { width: 1rem; height: 1rem; fill: #222; stroke: #222; } .modal__header { font-size: 1.5rem; margin-top: 5rem; } .modal__description { font-size: 0.875rem; color: #cecece; margin-top: 2.5rem; margin-bottom: 2.5rem; } .modal__section { width: 21.875rem; margin-top: 1.25rem; margin-left: auto; margin-right: auto; } .modal__section:last-of-type { margin-top: 1.875rem; } .input-with-label { text-align: left; position: relative; } .input-with-label__input { height: 2.5rem; width: 100%; border: 0.125rem solid #222; border-radius: 0.375rem; background: transparent; padding: 0 0.625rem; letter-spacing: 0.0625rem; font-size: 0.875rem; color: #222; } .input-with-label__input:hover { background: rgba(34,34,34,0.01); } .input-with-label__input:not(:focus):not(.is-keep-focus).is-fill + .input-with-label__label { display: none; } .input-with-label__input:focus, .input-with-label__input.is-keep-focus { outline: none; background: rgba(34,34,34,0.01); } .input-with-label__input:focus + .input-with-label__label, .input-with-label__input.is-keep-focus + .input-with-label__label { top: -1.125rem; left: 0; background: #222; padding: 0.125rem 0.4375rem 0.25rem; font-size: 0.625rem; border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; color: #fff; letter-spacing: 0.0625rem; } .input-with-label__input:focus + .input-with-label__label .input-with-label__label__corner, .input-with-label__input.is-keep-focus + .input-with-label__label .input-with-label__label__corner { display: block; } .input-with-label__label { font-size: 0.875rem; display: block; position: absolute; color: #cecece; top: 0.625rem; left: 0.625rem; cursor: text; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .input-with-label__label__corner { display: none; position: absolute; left: 0; bottom: -0.25rem; width: 0; height: 0; border: 0.25rem solid transparent; border-left-color: #222; } .modal-overlay { width: 100%; height: 100%; position: absolute; overflow: hidden; top: 0; left: 0; background: rgba(34,34,34,0.9); z-index: 1; } .svg-overlay { -webkit-backface-visibility: hidden; backface-visibility: hidden; display: none; } .svg-overlay--2 { -webkit-transform-origin: 96% 2%; transform-origin: 96% 2%; } .svg-overlay--3 { -webkit-transform-origin: 97% 6%; transform-origin: 97% 6%; } .svg-overlay svg { width: 100%; height: 100%; top: 0; left: 0; position: absolute; } .by { position: absolute; right: 1.25rem; bottom: 1.25rem; width: 3.125rem; height: 3.125rem; border-radius: 50%; background: #fff url("") no-repeat center center; background: transparent url("") no-repeat center center; background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCIgWw0KCTwhRU5USVRZIG5zX2V4dGVuZCAiaHR0cDovL2.........完整代码请登录后点击上方下载按钮下载查看
网友评论0