three+waypoints实现炫酷程序员个人简历主页代码

代码语言:html

所属分类:其他

代码描述:three+waypoints实现炫酷程序员个人简历主页代码

代码标签: three waypoints 炫酷 程序员 简历 个人 主页

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">




    <style>
        /* File: base.css */
        
        @import url(https://fonts.googleapis.com/css?family=Dosis:200:400|Lato:100,300,400,900|Ubuntu:700|Source+Code+Pro:500|Open+Sans:300|Press+Start+2P);
        * {
            margin: 0;
            padding: 0;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            box-sizing: border-box
        }
        body,
        html {
            color: #2c2c2c;
            min-width: 600px;
            height: 100%;
            background: gray;
            font: 400 100%/1em 'Lato', sans-serif;
            -webkit-font-smoothing: antialiased
        }
        ::selection {
            background: rgba(0, 184, 255, .09);
            -webkit-text-shadow: 0 1px 1px #000;
            text-shadow: 0 1px 1px #000;
            color: #dadada
        }
        ::-moz-selection {
            background: rgba(0, 184, 255, .09);
            text-shadow: 0 1px 1px #000;
            color: #dadada
        }
        a {
            text-decoration: none;
            color: #168dff
        }
        a:hover {
            color: #90bbff
        }
        ul {
            list-style: none
        }
        section {
            position: relative;
            min-height: 110%;
            background: #fff
        }
        .viewport {
            width: 100%;
            height: 100%;
            -moz-perspective: 900px;
            -ms-perspective: 900px;
            -webkit-perspective: 900px;
            perspective: 900px;
            overflow: hidden
        }
        .viewport div {
            outline: 1px solid transparent;
            -webkit-text-stroke: .25px;
            -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d
        }
        .viewport .world {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
            -webkit-transform-origin: 60% 50%;
            -moz-transform-origin: 60% 50%;
            -ms-transform-origin: 60% 50%;
            -o-transform-origin: 60% 50%;
            transform-origin: 60% 50%
        }
        .title {
            position: relative;
            text-align: center;
            overflow: hidden;
            margin: 0 3%
        }
        .title:before {
            content: '';
            position: absolute;
            left: 0;
            top: 48%;
            width: 100%;
            height: 1px;
            background: #c4c4c4;
            pointer-events: none;
            -webkit-touch-callout: none
        }
        .title h1 {
            background: #fff;
            z-index: 1;
            position: relative;
            display: inline-block;
            font: 400 650%/130% 'Open Sans';
            padding: 10px 35px 35px 60px;
            text-transform: uppercase;
            color: #131313;
            letter-spacing: .15em;
            -webkit-text-shadow: silver -1px 1px 0, #c2c2c2 -2px 2px 0, #c3c3c3 -3px 3px 0, #c5c5c5 -4px 4px 0, #c6c6c6 -5px 5px 0, #c8c8c8 -6px 6px 0, #c9c9c9 -7px 7px 0, #cbcbcb -8px 8px 0, #ccc -9px 9px 0, #cecece -10px 10px 0, #cfcfcf -11px 11px 0, #d1d1d1 -12px 12px 0, #d2d2d2 -13px 13px 0, #d4d4d4 -14px 14px 0, #d5d5d5 -15px 15px 0, #d7d7d7 -16px 16px 0, #d8d8d8 -17px 17px 0, #dadada -18px 18px 0, #dbdbdb -19px 19px 0, #ddd -20px 20px 0, #dfdfdf -21px 21px 0, #e0e0e0 -22px 22px 0, #e2e2e2 -23px 23px 0, #e3e3e3 -24px 24px 0, #e5e5e5 -25px 25px 0, #e6e6e6 -26px 26px 0, #e8e8e8 -27px 27px 0, #e9e9e9 -28px 28px 0, #ebebeb -29px 29px 0, #ececec -30px 30px 0, #eee -31px 31px 0, #efefef -32px 32px 0, #f1f1f1 -33px 33px 0, #f2f2f2 -34px 34px 0, #f4f4f4 -35px 35px 0, #f5f5f5 -36px 36px 0, #f7f7f7 -37px 37px 0, #f8f8f8 -38px 38px 0, #fafafa -39px 39px 0, #fbfbfb -40px 40px 0, #fdfdfd -41px 41px 0, #fff -42px 42px 0;
            text-shadow: silver -1px 1px 0, #c2c2c2 -2px 2px 0, #c3c3c3 -3px 3px 0, #c5c5c5 -4px 4px 0, #c6c6c6 -5px 5px 0, #c8c8c8 -6px 6px 0, #c9c9c9 -7px 7px 0, #cbcbcb -8px 8px 0, #ccc -9px 9px 0, #cecece -10px 10px 0, #cfcfcf -11px 11px 0, #d1d1d1 -12px 12px 0, #d2d2d2 -13px 13px 0, #d4d4d4 -14px 14px 0, #d5d5d5 -15px 15px 0, #d7d7d7 -16px 16px 0, #d8d8d8 -17px 17px 0, #dadada -18px 18px 0, #dbdbdb -19px 19px 0, #ddd -20px 20px 0, #dfdfdf -21px 21px 0, #e0e0e0 -22px 22px 0, #e2e2e2 -23px 23px 0, #e3e3e3 -24px 24px 0, #e5e5e5 -25px 25px 0, #e6e6e6 -26px 26px 0, #e8e8e8 -27px 27px 0, #e9e9e9 -28px 28px 0, #ebebeb -29px 29px 0, #ececec -30px 30px 0, #eee -31px 31px 0, #efefef -32px 32px 0, #f1f1f1 -33px 33px 0, #f2f2f2 -34px 34px 0, #f4f4f4 -35px 35px 0, #f5f5f5 -36px 36px 0, #f7f7f7 -37px 37px 0, #f8f8f8 -38px 38px 0, #fafafa -39px 39px 0, #fbfbfb -40px 40px 0, #fdfdfd -41px 41px 0, #fff -42px 42px 0
        }
        .clear {
            clear: both
        }
        .simage {
            position: relative;
            height: 170px;
            margin: 30px 0 60px 0
        }
        .simage div {
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            width: 60%;
            -moz-background-size: cover;
            -o-background-size: cover;
            -webkit-background-size: cover;
            background-size: cover;
            border: 10px solid #ebebeb;
            border-right: none
        }
        .simage.left div {
            right: auto;
            left: 0;
            border: 10px solid #ebebeb;
            border-left: none
        }
        .y-slider {
            display: inline;
            position: relative;
            color: transparent;
            text-align: right
        }
        .y-slider>div {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            display: inline-block;
            overflow: hidden
        }
        .y-slider>div ul {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            -webkit-transition: 150ms;
            -moz-transition: 150ms;
            -o-transition: 150ms;
            transition: 150ms
        }
        .opera .y-slider>div ul {
            -webkit-transition: none;
            -moz-transition: none;
            -o-transition: none;
            transition: none
        }
        .y-slider>div ul>li {
            display: block;
            white-space: nowrap;
            color: #168dff
        }
        a.nice-link {
            position: relative;
            color: #168dff
        }
        a.nice-link.underline:after {
            border-bottom: 1px solid #0071ca
        }
        a.nice-link:after {
            content: attr(data-text);
            position: absolute;
            left: 0;
            top: auto;
            white-space: nowrap;
            overflow: hidden;
            color: #0071ca;
            min-height: 100%;
            width: 0;
            max-width: 100%;
            -moz-transition: .3s;
            -o-transition: .3s;
            -webkit-transition: .3s;
            transition: .3s
        }
        a.nice-link:hover {
            color: #168dff
        }
        a.nice-link:hover:after {
            width: 100%
        }
        .ycenter {
            position: absolute;
            left: 0;
            top: 50%;
            width: 100%;
            height: 0;
            text-align: center
        }
        .ycenter .xcenter {
            display: inline-block
        }
        .loader {
            position: relative;
            width: 100px;
            height: 100px;
            margin-top: -100%;
            text-align: center;
            text-transform: uppercase;
            font-size: 40%
        }
        .loader>div {
            position: absolute;
            left: -2px;
            top: -2px;
            border: 2px solid transparent;
            border-top: 2px solid #0591ff;
            border-radius: 50%;
            -moz-animation: spin linear infinite;
            -o-animation: spin linear infinite;
            -webkit-animation: spin linear infinite;
            animation: spin linear infinite
        }
        .loader>div:nth-of-type(1) {
            padding: 40%;
            margin: 10%;
            -webkit-animation-duration: 800ms;
            -moz-animation-duration: 800ms;
            -o-animation-duration: 800ms;
            animation-duration: 800ms;
            z-index: 3
        }
        .loader>div:nth-of-type(2) {
            padding: 50%;
            margin: 0%;
            border-top-width: 6px;
            -webkit-animation-duration: 900ms;
            -moz-animation-duration: 900ms;
            -o-animation-duration: 900ms;
            animation-duration: 900ms;
            z-index: 2
        }
        .loader>div:nth-of-type(3) {
            padding: 70%;
            margin: -20%;
            -webkit-animation-duration: 1000ms;
            -moz-animation-duration: 1000ms;
            -o-animation-duration: 1000ms;
            animation-duration: 1000ms;
            z-index: 1
        }
        .loader>span {
            position: relative;
            width: 100%;
            height: 100%;
            display: block
        }
        .loader>span>span {
            position: absolute;
            width: 100%;
            left: 0;
            top: 50%;
            margin-top: -5px;
            z-index: 5
        }
        .loader.hide {
            -webkit-transition: opacity 500ms ease, color 350ms ease;
            -moz-transition: opacity 500ms ease, color 350ms ease;
            -o-transition: opacity 500ms ease, color 350ms ease;
            transition: opacity 500ms ease, color 350ms ease;
            color: transparent;
            opacity: 0
        }
        .loader.hide>div {
            -webkit-transition: margin 550ms cubic-bezier(.41, -1.5, .64, 1), padding 550ms cubic-bezier(.41, -1.5, .64, 1), border 200ms ease-in;
            -moz-transition: margin 550ms cubic-bezier(.41, -1.5, .64, 1), padding 550ms cubic-bezier(.41, -1.5, .64, 1), border 200ms ease-in;
            -o-transition: margin 550ms cubic-bezier(.41, -1.5, .64, 1), padding 550ms cubic-bezier(.41, -1.5, .64, 1), border 200ms ease-in;
            transition: margin 550ms cubic-bezier(.41, -1.5, .64, 1), padding 550ms cubic-bezier(.41, -1.5, .64, 1), border 200ms ease-in;
            border-top-color: #000;
            margin: 50%;
            padding: 0%
        }
        @-webkit-keyframes spin {
            from {
                -webkit-transform: rotateZ(360deg)
            }
            to {
                -webkit-transform: rotateZ(0deg)
            }
        }
        @-moz-keyframes spin {
            from {
                -moz-transform: rotateZ(360deg)
            }
            to {
                -moz-transform: rotateZ(0deg)
            }
        }
        @keyframes spin {
            from {
                transform: rotateZ(360deg)
            }
            to {
                transform: rotateZ(0deg)
            }
        }
        @-moz-keyframes typing {
            to {
                width: 100%
            }
        }
        @-webkit-keyframes typing {
            to {
                width: 100%
            }
        }
        @keyframes typing {
            to {
                width: 100%
            }
        }
        @-moz-keyframes blink {
            0%, 50% {
                border-color: transparent
            }
        }
        @-webkit-keyframes blink {
            0%, 50% {
                border-color: transparent
            }
        }
        @keyframes blink {
            0%, 50% {
                border-color: transparent
            }
        }
        @-moz-keyframes blink2 {
            0%, 50% {
                border-color: transparent
            }
        }
        @-webkit-keyframes blink2 {
            0%, 50% {
                border-color: transparent
            }
        }
        @keyframes blink2 {
            0%, 50% {
                border-color: transparent
            }
        }
        @-webkit-keyframes bounce-top {
            100% {
                top: 180%
            }
        }
        @-moz-keyframes bounce-top {
            100% {
                top: 180%
            }
        }
        @keyframes bounce-top {
            100% {
                top: 180%
            }
        }
        /* File: main.css */
        
        #main {
            z-index: 0;
            min-height: 600px;
            height: 110%
        }
        #main .viewport {
            position: fixed;
            background-attachment: fixed;
            background-color: #fff;
            background-image: -webkit-radial-gradient(50% 80%, ellipse farthest-corner, #fff 35%, #ccc);
            background-image: -moz-radial-gradient(50% 80%, ellipse farthest-corner, #fff 35%, #ccc);
            background-image: -ms-radial-gradient(50% 80%, ellipse farthest-corner, #fff 35%, #ccc);
            background-image: -o-radial-gradient(50% 80%, ellipse farthest-corner, #fff 35%, #ccc);
            background-image: radial-gradient(farthest-corner ellipse at 50% 80%, #fff 35%, #ccc)
        }
        .opera #main .viewport {
            background: #fff
        }
        #main .viewport:before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 0;
            z-index: 100;
            background: #000;
            pointer-events: none;
            -webkit-touch-callout: none
        }
        #main .viewport:after {
            content: '';
            position: absolute;
            width: 100%;
            height: 0;
            left: 0;
            bottom: 0;
            z-index: 100;
            background: #000;
            pointer-events.........完整代码请登录后点击上方下载按钮下载查看

网友评论0