/*移动线段开始*/ .line1a { position: relative; animation-name: myfirst; animation-duration: 9s; animation-timing-function: linear; animation-delay: 0s; animation-iteration-count: infinite; animation-direction: alternate; animation-play-state: running; } .line2a { position: relative; animation-name: mysecond; animation-duration: 9s; animation-timing-function: linear; animation-delay: 0s; animation-iteration-count: infinite; animation-direction: alternate; animation-play-state: running; } @keyframes myfirst { 0% { background: #acce00; left: calc(100% - 1px); top: -356px; height: 30px; width: 3px; } 50% { background: #acce00; left: calc(100% - 1px); top: 294px; height: 80px; width: 3px; } 100% { background: #acce00; left: calc(100% - 1px); top: 944px; height: 50px; width: 3px; } } @keyframes mysecond { 0% { background: #acce00; left: calc(100% - 1px); top: 944px; height: 30px; width: 3px; } 50% { background: #acce00; left: calc(100% - 1px); top: 294px; height: 80px; width: 3px; } 100% { background: #acce00; left: calc(100% - 1px); top: -356px; height: 50px; width: 3px; } } /*移动线段结束*/ .home__flaps { position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100vw; height: 25vh; z-index: 999; pointer-events: none; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } .home__flaps-row { position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100vw; height: 25vh; z-index: 99999999999999; -webkit-box-flex: 2; -ms-flex-positive: 2; flex-grow: 2; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; } .home__flap { height: 100%; width: calc(100%); } .home__flap .inner0 { border-right: #444 1px solid; background-color: #0673b6; width: 100%; height: 100%; -webkit-animation: anmi-mask 0.8s forwards cubic-bezier(0.64, 0.08, 0.24, 0.94) 1s; animation: anmi-mask 0.8s forwards cubic-bezier(0.64, 0.08, 0.24, 0.94) 0.2s; } .home__flap .inner1 { border-right: #444 1px solid; background-color: #0673b6; width: 100%; height: 100%; -webkit-animation: anmi-mask 0.8s forwards cubic-bezier(0.64, 0.08, 0.24, 0.94) 1s; animation: anmi-mask 0.8s forwards cubic-bezier(0.64, 0.08, 0.24, 0.94) 0.4s; } .home__flap .inner2 { border-right: #444 1px solid; background-color: #0673b6; width: 100%; height: 100%; -webkit-animation: anmi-mask 0.8s forwards cubic-bezier(0.64, 0.08, 0.24, 0.94) 1s; animation: anmi-mask 0.8s forwards cubic-bezier(0.64, 0.08, 0.24, 0.94) 0.6s; } .home__flap .inner3 { border-right: #444 1px solid; background-color: #0673b6; width: 100%; height: 100%; -webkit-animation: anmi-mask 0.8s forwards cubic-bezier(0.64, 0.08, 0.24, 0.94) 1s; animation: anmi-mask 0.8s forwards cubic-bezier(0.64, 0.08, 0.24, 0.94) 0.8s; } .home__flap .inner4 { background-color: #0673b6; width: 100%; height: 100%; -webkit-animation: anmi-mask 0.8s forwards cubic-bezier(0.64, 0.08, 0.24, 0.94) 1s; animation: anmi-mask 0.8s forwards cubic-bezier(0.64, 0.08, 0.24, 0.94) 1.0s; } @keyframes anmi-mask { from { width: 100% } to { width: 0%; } } @-moz-keyframes anmi-mask { from { width: 100% } to { width: 0%; } } @-webkit-keyframes anmi-mask { from { width: 100% } to { width: 0%; } } .kuang { width: 100%; display: block; z-index: 9999999; position: fixed; left: 0px; top: 0px; background: ff0000; pointer-events: none; } .line1 { width: 4%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } .line2 { width: 4%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } .line3 { width: 10%; height: 100vh; border-right: rgba(0,0,0,0.05) 0px solid; float: left; } .line4 { width: 11%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } .line5 { width: 10%; height: 100vh; border-right: rgba(0,0,0,0.05) 0px solid; float: left; } .line6 { width: 11%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } .line7 { width: 11%; height: 100vh; border-right: rgba(0,0,0,0.05) 0px solid; float: left; } .line8 { width: 10%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } .line9 { width: 11%; height: 100vh; border-right: rgba(0,0,0,0.05) 0px solid; float: left; } .line10 { width: 10%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } .line11 { width: 4%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } @media only screen and (max-width: 768px) { .line1 { width: 4%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } .line2 { width: 6%; height: 100vh; border-right: rgba(0,0,0,0.05) 0px solid; float: left; display: none; } .line3 { width: 10%; height: 100vh; border-right: rgba(0,0,0,0.05) 0px solid; float: left; display: none; } .line4 { width: 23%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } .line5 { width: 10%; height: 100vh; border-right: rgba(0,0,0,0.05) 0px solid; float: left; display: none; } .line6 { width: 23%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } .line7 { width: 10%; height: 100vh; border-right: rgba(0,0,0,0.05) 0px solid; float: left; display: none; } .line8 { width: 23%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } .line9 { width: 10%; height: 100vh; border-right: rgba(0,0,0,0.05) 0px solid; float: left; display: none; } .line10 { width: 23%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; display: none; } .line11 { width: 23%; height: 100vh; border-right: rgba(255,255,255,0.09) 1px solid; float: left; } @keyframes myfirst { 0% { background: #ff0000; left: 100%; top: -356px; height: 30px; width: 1px; } 50% { background: #ff0000; left: 100%; top: 294px; height: 80px; width: 1px; } 100% { background: #ff0000; left: 100%; top: 944px; height: 50px; width: 1px; } } @keyframes mysecond { 0% { background: #ff0000; left: 100%; top: 944px; height: 30px; width: 1px; } 50% { background: #ff0000; left: 100%; top: 294px; height: 80px; width: 1px; } 100% { background: #ff0000; left: 100%; top: -356px; height: 50px; width: 1px; } } }