视觉差异海上船只404页面效果
代码语言:html
所属分类:布局界面
代码描述:视觉差异海上船只404页面效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="http://repo.bfw.wiki/bfwrepo/css/reset.min.css"> <style> @import url("https://fonts.googleapis.com/css?family=Open+Sans|PT+Sans+Narrow"); body { overflow: hidden; font-family: 'Open Sans', sans-serif; } .not-found { position: relative; overflow: hidden; margin: 0 -20vw; height: 110vh; } .not-found [class*="wave"] { position: absolute; } .not-found div { position: absolute; width: 100%; bottom: 0; left: 0; } .not-found div.wave-1 { background: url(http://repo.bfw.wiki/bfwrepo/svg/wave-1.svg); } .not-found div.wave-2 { background: url(http://repo.bfw.wiki/bfwrepo/svg/wave-2.svg); } .not-found div.wave-3 { background: url(http://repo.bfw.wiki/bfwrepo/svg/wave-3.svg); } .not-found div.wave-4 { background: url(http://repo.bfw.wiki/bfwrepo/svg/wave-4.svg); } .not-found div.wave-5 { background: url(http://repo.bfw.wiki/bfwrepo/svg/wave-5.svg); } .not-found div.wave-6 { background: url(http://repo.bfw.wiki/bfwrepo/svg/wave-6.svg); } .not-found div.wave-7 { background: url(http://repo.bfw.wiki/bfwrepo/svg/wave-7.svg); } .not-found div.sky-bg { background: url(http://res.cloudinary.com/andrewhani/image/upload/v1524821915/404/bg-1_gvybzk.svg); height: 100%; } .not-found div[class*="wave"]:not(.wave-4) { height: calc(100% - 250px); } .not-found div.wave-4 { height: calc(100% - 430px); } .not-found .boat { position: absolute; top: 0; right: 15%; width: 150px; -webkit-animation: boat 15s cubic-bezier(0.65, 0.05, 0.36, 1) infinite; -moz-animation: boat 15s cubic-bezier(0.65, 0.05, 0.36, 1) infinite; -o-animation: boat 15s cubic-bezier(0.65, 0.05, 0.36, 1) infinite; animation: boat 15s cubic-bezier(0.65, 0.05, 0.36, 1) infinite; } .not-found .wave-lost { position: absolute; top: 20%; left: 50%; color: #fff; font-size: 20rem; -webkit-animation: surf 2s; -moz-animation: surf 2s; -o-animation: surf 2s; animation: surf 2s; } .not-found .wave-lost span { float: left; -webkit-animation: float 3s ease-in infinite; -moz-animation: float 3s ease-in infinite; -o-animation: float 3s ease-in infinite; animation: float 3s ease-in infinite; } .not-found .wave-lost span:nth-child(2) { -webkit-animation-delay: 2.5s; -moz-animation-delay: 2.5s; -o-animation-delay: 2.5s; animation-delay: 2.5s; } .not-found .wave-lost span:nth-child(3) { -webkit-animation-delay: 4.5s; -moz-animation-delay: 4.5s; -o-animation-delay: 4.5s; animation-delay: 4.5s; } .not-found .wave-island { position: absolute; top: 130px; left: 20%; padding: 10px; width: 170px; } .not-found .wave-message { position: absolute; bottom: 100px; left: 50%; padding-right: 50%; height: auto !important; color: #fff; font-size: 3rem; text-align: left; -webkit-animation: wave-message 1s; -moz-animation: wave-message 1s; -o-animation: wave-message 1s; animation: wave-message 1s; } @-webkit-keyframes boat { 0% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -moz-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -ms-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -o-transform: rotate(-15deg) translate3d(400px, 0px, 0px); transform: rotate(-15deg) translate3d(400px, 0px, 0px); } 20% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -moz-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -ms-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -o-transform: rotate(15deg) translate3d(-20vw, 0, 0px); transform: rotate(15deg) translate3d(-20vw, 0, 0px); } 25% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -moz-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -ms-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -o-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); transform: rotate(-7deg) translate3d(-25vw, 0, 0px); } 50% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -moz-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -ms-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -o-transform: rotate(5deg) translate3d(-50vw, 0, 0px); transform: rotate(5deg) translate3d(-50vw, 0, 0px); } 60% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); -moz-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); -ms-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); -o-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); transform: rotate(-1deg) translate3d(-60vw, 0, 0px); } 100% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(2deg) translate3d(-100vw, 0, 0px); -moz-transform: rotate(2deg) translate3d(-100vw, 0, 0px); -ms-transform: rotate(2deg) translate3d(-100vw, 0, 0px); -o-transform: rotate(2deg) translate3d(-100vw, 0, 0px); transform: rotate(2deg) translate3d(-100vw, 0, 0px); } } @-moz-keyframes boat { 0% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -moz-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -ms-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -o-transform: rotate(-15deg) translate3d(400px, 0px, 0px); transform: rotate(-15deg) translate3d(400px, 0px, 0px); } 20% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -moz-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -ms-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -o-transform: rotate(15deg) translate3d(-20vw, 0, 0px); transform: rotate(15deg) translate3d(-20vw, 0, 0px); } 25% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -moz-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -ms-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -o-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); transform: rotate(-7deg) translate3d(-25vw, 0, 0px); } 50% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -moz-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -ms-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -o-transform: rotate(5deg) translate3d(-50vw, 0, 0px); transform: rotate(5deg) translate3d(-50vw, 0, 0px); } 60% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); -moz-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); -ms-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); -o-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); transform: rotate(-1deg) translate3d(-60vw, 0, 0px); } 100% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(2deg) translate3d(-100vw, 0, 0px); -moz-transform: rotate(2deg) translate3d(-100vw, 0, 0px); -ms-transform: rotate(2deg) translate3d(-100vw, 0, 0px); -o-transform: rotate(2deg) translate3d(-100vw, 0, 0px); transform: rotate(2deg) translate3d(-100vw, 0, 0px); } } @-o-keyframes boat { 0% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -moz-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -ms-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -o-transform: rotate(-15deg) translate3d(400px, 0px, 0px); transform: rotate(-15deg) translate3d(400px, 0px, 0px); } 20% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -moz-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -ms-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -o-transform: rotate(15deg) translate3d(-20vw, 0, 0px); transform: rotate(15deg) translate3d(-20vw, 0, 0px); } 25% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -moz-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -ms-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -o-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); transform: rotate(-7deg) translate3d(-25vw, 0, 0px); } 50% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -moz-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -ms-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -o-transform: rotate(5deg) translate3d(-50vw, 0, 0px); transform: rotate(5deg) translate3d(-50vw, 0, 0px); } 60% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); -moz-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); -ms-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); -o-transform: rotate(-1deg) translate3d(-60vw, 0, 0px); transform: rotate(-1deg) translate3d(-60vw, 0, 0px); } 100% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(2deg) translate3d(-100vw, 0, 0px); -moz-transform: rotate(2deg) translate3d(-100vw, 0, 0px); -ms-transform: rotate(2deg) translate3d(-100vw, 0, 0px); -o-transform: rotate(2deg) translate3d(-100vw, 0, 0px); transform: rotate(2deg) translate3d(-100vw, 0, 0px); } } /* Standard syntax */ @keyframes boat { 0% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -moz-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -ms-transform: rotate(-15deg) translate3d(400px, 0px, 0px); -o-transform: rotate(-15deg) translate3d(400px, 0px, 0px); transform: rotate(-15deg) translate3d(400px, 0px, 0px); } 20% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -moz-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -ms-transform: rotate(15deg) translate3d(-20vw, 0, 0px); -o-transform: rotate(15deg) translate3d(-20vw, 0, 0px); transform: rotate(15deg) translate3d(-20vw, 0, 0px); } 25% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -moz-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -ms-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); -o-transform: rotate(-7deg) translate3d(-25vw, 0, 0px); transform: rotate(-7deg) translate3d(-25vw, 0, 0px); } 50% { -webkit-transform-origin: left; -moz-transform-origin: left; -ms-transform-origin: left; -o-transform-origin: left; transform-origin: left; -webkit-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -moz-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -ms-transform: rotate(5deg) translate3d(-50vw, 0, 0px); -o-transform: rotate(5deg) translate3d(-50vw, 0, 0px); transform: rotate(5deg) translate3d(-50vw, 0, 0px); } 60% { -webkit-.........完整代码请登录后点击上方下载按钮下载查看
网友评论0