Toggle navigation
Sign Up
Log In
Explore
Works
Folders
Tools
Collections
Artists
Groups
Groups
Topics
Tasks
Tasks
Jobs
Teams
Jobs
Recommendation
More Effects...
JS
CSS
/* --------------------------------------------------------------------- RESET CSS (thanks Eric Meyer) ------------------------------------------------------------------------ */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: baseline; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } :focus { outline: 0; } /* Always show a vertical scrollbar, even when there is no scrolling */ /*html { overflow-y: scroll; }*/ html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } img { max-width: 100%; } /* --------------------------------------------------------------------- HTML5 Block / Inline Block declarations ------------------------------------------------------------------------ */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } audio, canvas, video { display: inline-block; } /* --------------------------------------------------------------------- Globals ------------------------------------------------------------------------ */ body { font: 12px/1.2 Tahoma, Geneva, Arial, sans-serif; color: #666666; background-color: #222222; } a { color: #2e7bff; text-decoration: none; -moz-transition: color 0.15s ease-in-out, opacity 0.15s ease-in-out 0s; -webkit-transition: color 0.15s ease-in-out, opacity 0.15s ease-in-out 0s; -ms-transition: color 0.15s ease-in-out, opacity 0.15s ease-in-out 0s; -o-transition: color 0.15s ease-in-out, opacity 0.15s ease-in-out 0s; transition: color 0.15s ease-in-out, opacity 0.15s ease-in-out 0s; } a:hover, a:focus { color: #64a331; } /* --------------------------------------------------------------------- Wrapper ------------------------------------------------------------------------ */ .wrapper { width: 720px; margin: 20px auto 0; box-shadow: 0 0 10px #000000; background-color: #eeeeee; } /* --------------------------------------------------------------------- Scene ------------------------------------------------------------------------ */ .scene { overflow: hidden; width: 100%; height: 400px; background-color: #c1e0e3; position: relative; z-index: 100; } .scene-back { overflow: hidden; width: 1920px; /* 4000px */ height: 420px; position: absolute; bottom: 0px; } .scene-back_lvl3 { z-index: 120; } .scene-back_lvl2 { z-index: 121; } .scene-back_lvl1 { z-index: 122; } .scene-mid { overflow: hidden; width: 2220px; /* 4000px */ height: 420px; position: absolute; bottom: 0; } .scene-mid_lvl2 { z-index: 160; } .scene-mid_lvl1 { z-index: 161; } .scene-fore { overflow: hidden; width: 2720px; /* 4000px */ height: 420px; position: absolute; bottom: 0px; z-index: 200; } /* --------------------------------------------------------------------- Hills ------------------------------------------------------------------------ */ .hills { width: 8000px; position: absolute; bottom: 0; } .hills-back { width: 100%; position: absolute; bottom: 130px; } .hills-mid { width: 100%; position: absolute; bottom: 120px; } .hills-fore { width: 100%; position: absolute; bottom: 250px; } .hills-mound { display: inline-block; width: 0; height: 0; position: relative; } .hills-mound + .hills-mound { margin-left: 510px; } .hills-mound_mid { margin-left: 310px; } .hills-mound_fore { margin-left: 20px; } .hills-mound-shape { border-radius: 25%; position: absolute; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } .hills-mound-shape_back { width: 370px; height: 370px; background-color: #919b7a; left: -185px; top: -185px; } .hills-mound-shape_mid { width: 300px; height: 300px; -webkit-box-shadow: 0 2px 20px rgba(0,0,0,0.3); -moz-box-shadow: 0 2px 20px rgba(0,0,0,0.3); -ms-box-shadow: 0 2px 20px rgba(0,0,0,0.3); -o-box-shadow: 0 2px 20px rgba(0,0,0,0.3); box-shadow: 0 2px 20px rgba(0,0,0,0.3); background-color: #9ca87f; left: -150px; top: -150px; } .hills-mound-shape_fore { width: 280px; height: 280px; border-radius: 50% 10%; -webkit-box-shadow: inset 0 2px 26px #c7dc94, 0 2px 15px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 2px 26px #c7dc94, 0 2px 15px rgba(0,0,0,0.3); -ms-box-shadow: inset 0 2px 26px #c7dc94, 0 2px 15px rgba(0,0,0,0.3); -o-box-shadow: inset 0 2px 26px #c7dc94, 0 2px 15px rgba(0,0,0,0.3); box-shadow: inset 0 2px 26px #c7dc94, 0 2px 15px rgba(0,0,0,0.3); background-color: #95a56f; } /* --------------------------------------------------------------------- Sidewalk ------------------------------------------------------------------------ */ .sidewalk { overflow: hidden; height: 60px; background-color: #b2bdc3; position: relative; margin-top: 360px; } .sidewalk-curb { height: 40px; margin-top: 20px; border-top: 5px solid rgba(195,206,213,0.7); -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; box-sizing: border-box; box-shadow: inset 0 0 10px rgba(0,0,0,0.2), 0 0 20px rgba(0,0,0,0.3); background-color: #8a9297; } /* --------------------------------------------------------------------- Bricks ------------------------------------------------------------------------ */ .bricks { width: 100%; height: 40px; position: absolute; bottom: 0; left: 0; } .bricks-single { display: inline-block; width: 100px; height: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; box-sizing: border-box; border-right: 2px solid rgba(0,0,0,0.1); } /* --------------------------------------------------------------------- Hedge ------------------------------------------------------------------------ */ .hedge { width: 100%; height: 120px; box-shadow: inset 0 5px 10px #bee55e, inset 0 10px 80px #667b33, inset 0 -10px 90px #56682b; background-color: #7d973e; position: absolute; bottom: 60px; } .hedge-texture { width: 100%; height: 100%; background: url(../images/hedge-texture.png); position: absolute; } /* --------------------------------------------------------------------- Trees ------------------------------------------------------------------------ */ /* calculated out for only 10 trees */ .trees { overflow: hidden; display: block; height: 100%; position: relative; } .trees-spacing { display: block; width: 14.285714%; height: 100%; padding: 0; box-sizing: border-box; float: left; } .trees-trunk { overflow: hidden; display: inline-block; width: 28%; height: 100%; box-shadow: inset 2px 0 20px #7b5827, inset 3px 0 25px #422b0b; background-color: #7b5827; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(69,46,25,0.0)), rgb(69,46,25)); background-image: -webkit-linear-gradient(top, rgba(69,46,25,0.0), rgb(69,46,25)); background-image: -moz-linear-gradient(top, rgba(69,46,25,0.0), rgb(69,46,25)); background-image: -ms-linear-gradient(top, rgba(69,46,25,0.0), rgb(69,46,25)); background-image: -o-linear-gradient(top, rgba(69,46,25,0.0), rgb(69,46,25)); } .trees-trunk + .trees-trunk { margin-left: 134px; } /* 120px */ .trees-trunk-line { display: block; float: left; width: 1px; height: 100%; margin-left: 11px; background-color: rgba(0,0,0,0.1); } .trees-trunk-line:nth-child(2) { margin-left: 9px; } .trees-trunk-line:nth-child(3) { margin-left: 10px; } .trees-trunk-line:nth-child(4) { margin-left: 19px; } .trees-trunk-line:nth-child(5) { margin-left: 10px; } .trees-trunk-line:nth-child(6) { margin-left: 9px; } /* --------------------------------------------------------------------- TreesBack ------------------------------------------------------------------------ */ .treesBack { display: block; height: 100%; position: relative; } .treesBack-spacing { display: block; width: 11.111111%; height: 100%; padding: 0; box-sizing: border-box; float: left; } .treesBack-trunk { overflow: hidden; display: inline-block; width: 25%; height: 100%; box-shadow: inset 3px 0 25px #d5a866; background-color: #b79058; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(118,88,46,0.0)), rgb(118,88,46)); background-image: -webkit-linear-gradient(top, rgba(118,88,46,0.0), rgb(118,88,46)); background-image: -moz-linear-gradient(top, rgba(118,88,46,0.0), rgb(118,88,46)); background-image: -ms-linear-gradient(top, rgba(118,88,46,0.0), rgb(118,88,46)); background-image: -o-linear-gradient(top, rgba(118,88,46,0.0), rgb(118,88,46)); } .treesBack-trunk + .treesBack-trunk { margin-left: 70px; } .treesBack-trunk-line { display: block; float: left; width: 1px; height: 100%; background-color: rgba(0,0,0,0.1); } .treesBack-trunk-line:nth-child(1) { margin-left: 5px; } .treesBack-trunk-line:nth-child(2) { margin-left: 5px; } .treesBack-trunk-line:nth-child(3) { margin-left: 11px; } .treesBack-trunk-line:nth-child(4) { margin-left: 14px; } .treesBack-trunk-line:nth-child(5) { margin-left: 9px; } .treesBack-trunk-line:nth-child(6) { margin-left: 6px; } /* --------------------------------------------------------------------- Bike ------------------------------------------------------------------------ */ .bike { width: 321px; height: 205px; margin: 0 0 0 -160px; background: none transparent; position: absolute; left: 50%; bottom: 47px; z-index: 300; } .bike:before, .bike:after { content: " "; display: table; clear: both; } .bike-wheel { width: 114px; height: 114px; border: 10px solid #222222; border-radius: 100px; box-shadow: inset 0 0 0 4px #999999; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; box-sizing: border-box; background-color: transparent; position: absolute; bottom: 0; z-index: 400; } .bike-wheel:after { content: " "; width: 20px; height: 20px; border-radius: 10px; background-color: #999999; } .bike-wheel_front { right: 0; } .bike-wheel_rear { left: 0; } .bike-frame { width: 1px; height: 1px; background-color: red; position: absolute; bottom: 30%; left: 42%; z-index: 500; } .bike-pedal { width: 2px; height: 2px; background: green; position: absolute; bottom: 30%; left: 42%; } .bike-pedal_fore { z-index: 600; } .bike-pedal_back { z-index: 300; } /* --------------------------------------------------------------------- Wheel ------------------------------------------------------------------------ */ .wheel { width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 10px; background-color: #333333; position: absolute; top: 50%; left: 50%; } .wheel-spoke { width: 0; height: 0; position: absolute; left: 10px; top: 10px; } .wheel-spoke:before { content: ""; display: block; width: 2px; height: 45px; border-radius: 1px; background-color: #999999; position: absolute; top: 0; left: 0; } .wheel-spoke_1of10 { -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -ms-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); } .wheel-spoke_2of10 { -webkit-transform: rotate(36deg); -moz-transform: rotate(36deg); -ms-transform: rotate(36deg); -o-transform: rotate(36deg); transform: rotate(36deg); } .wheel-spoke_3of10 { -webkit-transform: rotate(72deg); -moz-transform: rotate(72deg); -ms-transform: rotate(72deg); -o-transform: rotate(72deg); transform: rotate(72deg); } .wheel-spoke_4of10 { -webkit-transform: rotate(108deg); -moz-transform: rotate(108deg); -ms-transform: rotate(108deg); -o-transform: rotate(108deg); transform: rotate(108deg); } .wheel-spoke_5of10 { -webkit-transform: rotate(144deg); -moz-transform: rotate(144deg); -ms-transform: rotate(144deg); -o-transform: rotate(144deg); transform: rotate(144deg); } .wheel-spoke_6of10 { -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); } .wheel-spoke_7of10 { -webkit-transform: rotate(216deg); -moz-transform: rotate(216deg); -ms-transform: rotate(216deg); -o-transform: rotate(216deg); transform: rotate(216deg); } .wheel-spoke_8of10 { -webkit-transform: rotate(252deg); -moz-transform: rotate(252deg); -ms-transform: rotate(252deg); -o-transform: rotate(252deg); transform: rotate(252deg); } .wheel-spoke_9of10 { -webkit-transform: rotate(288deg); -moz-transform: rotate(288deg); -ms-transform: rotate(288deg); -o-transform: rotate(288deg); transform: rotate(288deg); } .wheel-spoke_10of10 { -webkit-transform: rotate(324deg); -moz-transform: rotate(324deg); -ms-transform: rotate(324deg); -o-transform: rotate(324deg); transform: rotate(324deg); } /* --------------------------------------------------------------------- Frame ------------------------------------------------------------------------ */ .frame { width: 0; height: 0; position: relative; z-index: 610; } .frame-gears { width: 40px; height: 40px; border: 7px solid #555555; border-radius: 40px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; box-sizing: border-box; background-color: transparent; position: relative; left: -20px; top: -20px; z-index: 620; } .frame-base { position: absolute; z-index: 620; } .frame-seat { position: absolute; bottom: 0; left: 0; z-index: 620; } /* --------------------------------------------------------------------- Base ------------------------------------------------------------------------ */ .base { position: relative; z-index: 630; } .base > * { width: 0; height: 0; position: absolute; z-index: 640; } .base-bar { width: 100px; height: 8px; border-radius: 4px; background-color: #fb7c07; position: absolute; } .base-rear { top: 6px; left: -78px; } .base-rear_high { -webkit-transform: rotate(-41deg); -moz-transform: rotate(-41deg); -ms-transform: rotate(-41deg); -o-transform: rotate(-41deg); transform: rotate(-41deg); } .base-rear_high .base-bar { width: 90px; left: -4px; top: -4px; } .base-rear_low { -webkit-transform: rotate(-5deg); -moz-transform: rotate(-5deg); -ms-transform: rotate(-5deg); -o-transform: rotate(-5deg); transform: rotate(-5deg); } .base-rear_low .base-bar { width: 88px; left: -4px; top: -4px; } .base-front { top: -74px; left: 94px; } .base-front_high { -webkit-transform: rotate(-16deg); -moz-transform: rotate(-16deg); -ms-transform: rotate(-16deg); -o-transform: rotate(-16deg); transform: rotate(-16deg); } .base-front_high .base-bar { width: 118px; right: -4px; top: -8px; } .base-front_low { -webkit-transform: rotate(-35deg); -moz-transform: rotate(-35deg); -ms-transform: rotate(-35deg); -o-transform: rotate(-35deg); transform: rotate(-35deg); } .base-front_low .base-bar { width: 124px; right: -4px; top: 2px; } .base-handle { top: 0px; left: 120px; -webkit-transform: rotate(74deg); -moz-transform: rotate(74deg); -ms-transform: rotate(74deg); -o-transform: rotate(74deg); transform: rotate(74deg); } .base-handle:after, .base-handle:before { content: " "; height: 8px; border-radius: 4px; background-color: #fb7c07; position: absolute; z-index: 650; } .base-handle:before { width: 20px; -webkit-transform: rotate(-50deg); -moz-transform: rotate(-50deg); -ms-transform: rotate(-50deg); -o-transform: rotate(-50deg); transform: rotate(-50deg); right: -15px; top: -9px; } .base-handle:after { width: 24px; -webkit-transform: rotate(92deg); -moz-transform: rotate(92deg); -ms-transform: rotate(92deg); -o-transform: rotate(92deg); transform: rotate(92deg); left: -112px; bottom: 0px; } .base-handle .base-bar { width: 107px; right: -4px; top: -4px; } .base-handle .base-bar:after, .base-handle .base-bar:before { content: ""; display: block; height: 6px; border-radius: 3px; position: absolute; } .base-handle .base-bar:before { width: 44px; background-color: #bbbbbb; -webkit-transform: rotate(-4deg); -moz-transform: rotate(-4deg); -ms-transform: rotate(-4deg); -o-transform: rotate(-4deg); transform: rotate(-4deg); top: -9px; right: 101px; z-index: 660; } .base-handle .base-bar:after { width: 20px; height: 8px; border-radius: 4px; background-color: #333333; -webkit-transform: rotate(80deg); -moz-transform: rotate(80deg); -ms-transform: rotate(80deg); -o-transform: rotate(80deg); transform: rotate(80deg); bottom: 0px; right: 132px; z-index: 670; } /* --------------------------------------------------------------------- Seat ------------------------------------------------------------------------ */ .seat { position: absolute; bottom: 0; left: 0; -webkit-transform: rotate(-20deg); -moz-transform: rotate(-20deg); -ms-transform: rotate(-20deg); -o-transform: rotate(-20deg); transform: rotate(-20deg); } .seat-bar { width: 8px; height: 66px; border-radius: 4px; /*box-shadow: inset 0 0 6px #8c0723; box-shadow: inset 0 0 6px rgba(0,0,0,0.7);*/ background-color: #fb7c07; position: absolute; left: -4px; bottom: -4px; } .seat-bar:after { content: " "; display: block; width: 6px; height: 16px; background: #bbbbbb; position: absolute; z-index: 800; bottom: 63px; left: 1px; } .seat-bar-pad { width: 0; height: 0; border-top: 18px solid #222222; border-right: 36px solid transparent; position: absolute; z-index: 820; top: -20px; left: -10px; } .seat-bar-pad:before, .seat-bar-pad:after { content: " "; display: block; -webkit-border-radius: 60% 60% 40% 40% / 50% 50% 50% 50%; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background-color: #222222; position: absolute; } .seat-bar-pad:before { width: 17px; height: 22px; top: -21px; left: -7px; -webkit-transform: rotate(80deg); -moz-transform: rotate(80deg); -ms-transform: rotate(80deg); -o-transform: rotate(80deg); transform: rotate(80deg); } .seat-bar-pad:after { top: -24px; left: 24px; width: 10px; height: 20px; -webkit-transform: rotate(-87deg); -moz-transform: rotate(-87deg); -ms-transform: rotate(-87deg); -o-transform: rotate(-87deg); transform: rotate(-87deg); } /* --------------------------------------------------------------------- Pedal ------------------------------------------------------------------------ */ .pedal { width: 0; height: 0; position: absolute; left: -3px; top: -3px; /*-webkit-transform: rotate(-87deg); -moz-transform: rotate(-87deg); -ms-transform: rotate(-87deg); -o-transform: rotate(-87deg); transform: rotate(-87deg);*/ } .pedal-bar { width: 6px; height: 40px; border-radius: 3px; position: absolute; } .pedal-bar-pad { width: 20px; height: 6px; margin-left: -10px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; box-sizing: border-box; position: absolute; left: 50%; } .pedal-bar-pad_fore { background-color: #e42920; } .pedal-bar_fore { background-color: #f6be35; } .pedal-bar_fore { top: 0px; } .pedal-bar-pad_fore { bottom: -3px; } .pedal-bar_back, .pedal-bar-pad_back { background-color: #d75d08; } .pedal-bar_back { bottom: -3px; } .pedal-bar-pad_back { top: -3px; } /* ------------------------------------------------------------------------ ** ------------------------------------------------------------------------ Animate ** ------------------------------------------------------------------------ --------------------------------------------------------------------------- */ /* --------------------------------------------------------------------- Animate / keyframes / clockwise ------------------------------------------------------------------------ */ @-webkit-keyframes go-round-clockwise { from { -webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); } } @-moz-keyframes go-round-clockwise { from { -moz-transform: rotate(0deg); } to { -moz-transform: rotate(360deg); } } @-ms-keyframes go-round-clockwise { from { -ms-transform: rotate(0deg); } to { -ms-transform: rotate(360deg); } } @-o-keyframes go-round-clockwise { from { -o-transform: rotate(0deg); } to { -o-transform: rotate(360deg); } } @keyframes go-round-clockwise { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* --------------------------------------------------------------------- Animate / keyframes / counter clockwise ------------------------------------------------------------------------ */ @-webkit-keyframes go-round-counter { from { -webkit-transform: rotate(360deg); } to { -webkit-transform: rotate(0deg); } } @-moz-keyframes go-round-counter { from { -moz-transform: rotate(360deg); } to { -moz-transform: rotate(0deg); } } @-ms-keyframes go-round-counter { from { -ms-transform: rotate(360deg); } to { -ms-transform: rotate(0deg); } } @-o-keyframes go-round-counter { from { -o-transform: rotate(360deg); } to { -o-transform: rotate(0deg); } } @keyframes go-round-counter { from { transform: rotate(360deg); } to { transform: rotate(0deg); } } /* --------------------------------------------------------------------- Animate / keyframes / side scroll / fore ------------------------------------------------------------------------ */ @-webkit-keyframes side-scroll-fore { from { -webkit-transform: translate3d(0px, 0px, 0px); } to { -webkit-transform: translate3d(-2000px, 0px, 0px); } } @-moz-keyframes side-scroll-fore { from { -moz-transform: translate3d(0px, 0px, 0px); } to { -moz-transform: translate3d(-2000px, 0px, 0px); } } @-ms-keyframes side-scroll-fore { from { -ms-transform: translate3d(0px, 0px, 0px); } to { -ms-transform: translate3d(-2000px, 0px, 0px); } } @-o-keyframes side-scroll-fore { from { -o-transform: translate3d(0px, 0px, 0px); } to { -o-transform: translate3d(-2000px, 0px, 0px); } } @keyframes side-scroll-fore { from { transform: translate3d(0px, 0px, 0px); } to { transform: translate3d(-2000px, 0px, 0px); } } /* --------------------------------------------------------------------- Animate / keyframes / side scroll / mid_lvl1 ------------------------------------------------------------------------ */ @-webkit-keyframes side-scroll-mid_lvl1 { from { -webkit-transform: translate3d(0px, 0px, 0px); } to { -webkit-transform: translate3d(-1500px, 0px, 0px); } } @-moz-keyframes side-scroll-mid_lvl1 { from { -moz-transform: translate3d(0px, 0px, 0px); } to { -moz-transform: translate3d(-1500px, 0px, 0px); } } @-ms-keyframes side-scroll-mid_lvl1 { from { -ms-transform: translate3d(0px, 0px, 0px); } to { -ms-transform: translate3d(-1500px, 0px, 0px); } } @-o-keyframes side-scroll-mid_lvl1 { from { -o-transform: translate3d(0px, 0px, 0px); } to { -o-transform: translate3d(-1500px, 0px, 0px); } } @keyframes side-scroll-mid_lvl1 { from { transform: translate3d(0px, 0px, 0px); } to { transform: translate3d(-1500px, 0px, 0px); } } /* --------------------------------------------------------------------- Animate / keyframes / side scroll / mid_lvl2 ------------------------------------------------------------------------ */ @-webkit-keyframes side-scroll-mid_lvl2 { from { -webkit-transform: translate3d(0px, 0px, 0px); } to { -webkit-transform: translate3d(-1200px, 0px, 0px); } } @-moz-keyframes side-scroll-mid_lvl2 { from { -moz-transform: translate3d(0px, 0px, 0px); } to { -moz-transform: translate3d(-1200px, 0px, 0px); } } @-ms-keyframes side-scroll-mid_lvl2 { from { -ms-transform: translate3d(0px, 0px, 0px); } to { -ms-transform: translate3d(-1200px, 0px, 0px); } } @-o-keyframes side-scroll-mid_lvl2 { from { -o-transform: translate3d(0px, 0px, 0px); } to { -o-transform: translate3d(-1200px, 0px, 0px); } } @keyframes side-scroll-mid_lvl2 { from { transform: translate3d(0px, 0px, 0px); } to { transform: translate3d(-1200px, 0px, 0px); } } /* --------------------------------------------------------------------- Animate / keyframes / side scroll / back_lvl1 ------------------------------------------------------------------------ */ @-webkit-keyframes side-scroll-back_lvl1 { from { -webkit-transform: translate3d(0px, 0px, 0px); } to { -webkit-transform: translate3d(-800px, 0px, 0px); } } @-moz-keyframes side-scroll-back_lvl1 { from { -moz-transform: translate3d(0px, 0px, 0px); } to { -moz-transform: translate3d(-800px, 0px, 0px); } } @-ms-keyframes side-scroll-back_lvl1 { from { -ms-transform: translate3d(0px, 0px, 0px); } to { -ms-transform: translate3d(-800px, 0px, 0px); } } @-o-keyframes side-scroll-back_lvl1 { from { -o-transform: translate3d(0px, 0px, 0px); } to { -o-transform: translate3d(-800px, 0px, 0px); } } @keyframes side-scroll-back_lvl1 { from { transform: translate3d(0px, 0px, 0px); } to { transform: translate3d(-800px, 0px, 0px); } } /* --------------------------------------------------------------------- Animate / keyframes / side scroll / back_lvl2 ------------------------------------------------------------------------ */ @-webkit-keyframes side-scroll-back_lvl2 { from { -webkit-transform: translate3d(0px, 0px, 0px); } to { -webkit-transform: translate3d(-750px, 0px, 0px); } } @-moz-keyframes side-scroll-back_lvl2 { from { -moz-transform: translate3d(0px, 0px, 0px); } to { -moz-transform: translate3d(-750px, 0px, 0px); } } @-ms-keyframes side-scroll-back_lvl2 { from { -ms-transform: translate3d(0px, 0px, 0px); } to { -ms-transform: translate3d(-750px, 0px, 0px); } } @-o-keyframes side-scroll-back_lvl2 { from { -o-transform: translate3d(0px, 0px, 0px); } to { -o-transform: translate3d(-750px, 0px, 0px); } } @keyframes side-scroll-back_lvl2 { from { transform: translate3d(0px, 0px, 0px); } to { transform: translate3d(-750px, 0px, 0px); } } /* --------------------------------------------------------------------- Animate / keyframes / side scroll / back_lvl3 ------------------------------------------------------------------------ */ @-webkit-keyframes side-scroll-back_lvl3 { from { -webkit-transform: translate3d(0px, 0px, 0px); } to { -webkit-transform: translate3d(-700px, 0px, 0px); } } @-moz-keyframes side-scroll-back_lvl3 { from { -moz-transform: translate3d(0px, 0px, 0px); } to { -moz-transform: translate3d(-700px, 0px, 0px); } } @-ms-keyframes side-scroll-back_lvl3 { from { -ms-transform: translate3d(0px, 0px, 0px); } to { -ms-transform: translate3d(-700px, 0px, 0px); } } @-o-keyframes side-scroll-back_lvl3 { from { -o-transform: translate3d(0px, 0px, 0px); } to { -o-transform: translate3d(-700px, 0px, 0px); } } @keyframes side-scroll-back_lvl3 { from { transform: translate3d(0px, 0px, 0px); } to { transform: translate3d(-700px, 0px, 0px); } } /* --------------------------------------------------------------------- Animate / pedal ------------------------------------------------------------------------ */ .anim-pedal { -webkit-animation: go-round-clockwise 2s infinite linear; -moz-animation: go-round-clockwise 2s infinite linear; -ms-animation: go-round-clockwise 2s infinite linear; -o-animation: go-round-clockwise 2s infinite linear; animation: go-round-clockwise 2s infinite linear; } /* --------------------------------------------------------------------- Animate / pedal pad ------------------------------------------------------------------------ */ .anim-pedal-pad { -webkit-animation: go-round-counter 2s infinite linear; -moz-animation: go-round-counter 2s infinite linear; -ms-animation: go-round-counter 2s infinite linear; -o-animation: go-round-counter 2s infinite linear; animation: go-round-counter 2s infinite linear; } /* --------------------------------------------------------------------- Animate / wheels ------------------------------------------------------------------------ */ .anim-wheel { -webkit-animation: go-round-clockwise 1.5s infinite linear; -moz-animation: go-round-clockwise 1.5s infinite linear; -ms-animation: go-round-clockwise 1.5s infinite linear; -o-animation: go-round-clockwise 1.5s infinite linear; animation: go-round-clockwise 1.5s infinite linear; } /* --------------------------------------------------------------------- Animate / scene / foreground ------------------------------------------------------------------------ */ .anim-scene-fore { -webkit-animation: side-scroll-fore 10s infinite linear; -moz-animation: side-scroll-fore 10s infinite linear; -ms-animation: side-scroll-fore 10s infinite linear; -o-animation: side-scroll-fore 10s infinite linear; animation: side-scroll-fore 10s infinite linear; } /* --------------------------------------------------------------------- Animate / scene / midground level 1 ------------------------------------------------------------------------ */ .anim-scene-mid_lvl1 { -webkit-animation: side-scroll-mid_lvl1 10s infinite linear; -moz-animation: side-scroll-mid_lvl1 10s infinite linear; -ms-animation: side-scroll-mid_lvl1 10s infinite linear; -o-animation: side-scroll-mid_lvl1 10s infinite linear; animation: side-scroll-mid_lvl1 10s infinite linear; } /* --------------------------------------------------------------------- Animate / scene / midground level 2 ------------------------------------------------------------------------ */ .anim-scene-mid_lvl2 { -webkit-animation: side-scroll-mid_lvl2 10s infinite linear; -moz-animation: side-scroll-mid_lvl2 10s infinite linear; -ms-animation: side-scroll-mid_lvl2 10s infinite linear; -o-animation: side-scroll-mid_lvl2 10s infinite linear; animation: side-scroll-mid_lvl2 10s infinite linear; } /* --------------------------------------------------------------------- Animate / scene / background level 1 ------------------------------------------------------------------------ */ .anim-scene-back_lvl1 { -webkit-animation: side-scroll-back_lvl1 10s infinite linear; -moz-animation: side-scroll-back_lvl1 10s infinite linear; -ms-animation: side-scroll-back_lvl1 10s infinite linear; -o-animation: side-scroll-back_lvl1 10s infinite linear; animation: side-scroll-back_lvl1 10s infinite linear; } /* --------------------------------------------------------------------- Animate / scene / background level 2 ------------------------------------------------------------------------ */ .anim-scene-back_lvl2 { -webkit-animation: side-scroll-back_lvl2 10s infinite linear; -moz-animation: side-scroll-back_lvl2 10s infinite linear; -ms-animation: side-scroll-back_lvl2 10s infinite linear; -o-animation: side-scroll-back_lvl2 10s infinite linear; animation: side-scroll-back_lvl2 10s infinite linear; } /* --------------------------------------------------------------------- Animate / scene / background level 3 ------------------------------------------------------------------------ */ .anim-scene-back_lvl3 { -webkit-animation: side-scroll-back_lvl3 10s infinite linear; -moz-animation: side-scroll-back_lvl3 10s infinite linear; -ms-animation: side-scroll-back_lvl3 10s infinite linear; -o-animation: side-scroll-back_lvl3 10s infinite linear; animation: side-scroll-back_lvl3 10s infinite linear; }
HTML
Join Effecthub.com
Working with Global Gaming Artists and Developers!
Login
Sign Up
Or Login with Your Email Address:
Email
Password
Remember
Or Sign Up with Your Email Address:
Your Email
This field must contain a valid email
Set Password
Password should be at least 1 character
Stay informed via email