Last active
August 31, 2022 05:17
-
-
Save mhekel/c91a36380f66cec281eefb23bb8c0189 to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //* mat d animated *// | |
| .cover { | |
| width: 700px; | |
| height: 400px; | |
| overflow: hidden; | |
| position: relative; | |
| background: #383030; | |
| margin: 20px auto; | |
| } | |
| .cover .circle { | |
| width: 280px; | |
| height: 280px; | |
| background: #3d3d3d; | |
| border-radius: 100%; | |
| position: absolute; | |
| left: -300px; | |
| bottom: -80px; | |
| box-shadow: 5px 1px 8px black; | |
| z-index: 1; | |
| -webkit-animation-name: example; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-duration: 4s; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-delay: 0.2s; | |
| /* Safari 4.0 - 8.0 */ | |
| animation-name: example; | |
| animation-duration: 4s; | |
| animation-delay: 0.2s; | |
| animation-fill-mode: forwards; | |
| animation-direction: alternate; | |
| } | |
| @-webkit-keyframes example { | |
| 0% { | |
| left: -300px; | |
| } | |
| 100% { | |
| left: -80px; | |
| } | |
| } | |
| .cover .green{ | |
| width: 320px; | |
| height: 320px; | |
| background: #00b700; | |
| position: absolute; | |
| left: -400px; | |
| transform: rotate(40deg); | |
| box-shadow: 10px 5px 8px black; | |
| -webkit-animation-name: example2; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-duration: 4s; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-delay: 0.4s; | |
| /* Safari 4.0 - 8.0 */ | |
| animation-name: example2; | |
| animation-duration: 4s; | |
| animation-delay: 0.4s; | |
| animation-fill-mode: forwards; | |
| animation-direction: alternate; | |
| } | |
| @-webkit-keyframes example2 { | |
| 0% { | |
| left: -400px; | |
| } | |
| 100% { | |
| left: -203px; | |
| } | |
| } | |
| .cover .square { | |
| width: 400px; | |
| height: 250px; | |
| background: #474747; | |
| position: absolute; | |
| transform: rotate(40deg); | |
| bottom: -91px; | |
| left: -450px; | |
| -webkit-animation-name: example3; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-duration: 4s; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-delay: 0.6s; | |
| /* Safari 4.0 - 8.0 */ | |
| animation-name: example3; | |
| animation-duration: 4s; | |
| animation-delay: 0.6s; | |
| animation-fill-mode: forwards; | |
| animation-direction: alternate; | |
| } | |
| @-webkit-keyframes example3 { | |
| 0% { | |
| left: -450px; | |
| } | |
| 100% { | |
| left: 56px; | |
| } | |
| } | |
| .cover .mini { | |
| height: 300px; | |
| width: 80px; | |
| background: #595959; | |
| transform: rotate(-50deg); | |
| position: absolute; | |
| left: -300px; | |
| top: -80px; | |
| box-shadow: 5px 0px 20px black; | |
| -webkit-animation-name: example4; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-duration: 4s; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-delay: 0.8s; | |
| /* Safari 4.0 - 8.0 */ | |
| animation-name: example4; | |
| animation-duration: 4s; | |
| animation-delay: 0.8s; | |
| animation-fill-mode: forwards; | |
| animation-direction: alternate; | |
| } | |
| @-webkit-keyframes example4 { | |
| 0% { | |
| left: -300px; | |
| } | |
| 100% { | |
| left: 121px; | |
| } | |
| } | |
| .cover .minii { | |
| height: 300px; | |
| width: 80px; | |
| background: #595959; | |
| transform: rotate(-50deg); | |
| position: absolute; | |
| left: -300px; | |
| top: -80px; | |
| box-shadow: -5px 0px 10px black; | |
| -webkit-animation-name: example5; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-duration: 4s; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-delay: 0.1s; | |
| /* Safari 4.0 - 8.0 */ | |
| animation-name: example5; | |
| animation-duration: 4s; | |
| animation-delay: 0.1s; | |
| animation-fill-mode: forwards; | |
| animation-direction: alternate; | |
| } | |
| @-webkit-keyframes example5 { | |
| 0% { | |
| left: -300px; | |
| } | |
| 100% { | |
| left: 121px; | |
| } | |
| } | |
| .cover .squaree { | |
| width: 200px; | |
| height: 200px; | |
| background: #595959; | |
| position: absolute; | |
| transform: rotate(40deg); | |
| right: 700px; | |
| top: -137px; | |
| box-shadow: 5px 0px 20px black; | |
| -webkit-animation-name: example8; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-duration: 4s; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-delay: 0.12s; | |
| /* Safari 4.0 - 8.0 */ | |
| animation-name: example8; | |
| animation-duration: 4s; | |
| animation-delay: 0.12s; | |
| animation-fill-mode: forwards; | |
| animation-direction: alternate; | |
| } | |
| @-webkit-keyframes example8 { | |
| 0% { | |
| top: -700px; | |
| } | |
| 100% { | |
| right: 282px; | |
| } | |
| } | |
| .cover .big { | |
| background: #3d3d3d; | |
| width: 450px; | |
| height: 300px; | |
| transform: rotate(130deg); | |
| top: -28px; | |
| right: -600px; | |
| position: absolute; | |
| box-shadow: 5px 0px 10px black; | |
| -webkit-animation-name: example6; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-duration: 4s; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-delay: 0.14s; | |
| /* Safari 4.0 - 8.0 */ | |
| animation-name: example6; | |
| animation-duration: 4s; | |
| animation-delay: 0.14s; | |
| animation-fill-mode: forwards; | |
| animation-direction: alternate; | |
| } | |
| @-webkit-keyframes example6 { | |
| 0% { | |
| right: -600px; | |
| } | |
| 100% { | |
| right: -35px; | |
| } | |
| } | |
| .cover .bigg { | |
| background: #00f900; | |
| width: 450px; | |
| height: 20px; | |
| transform: rotate(130deg); | |
| top: 211px; | |
| position: absolute; | |
| right: -400px; | |
| -webkit-animation-name: example7; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-duration: 4s; | |
| /* Safari 4.0 - 8.0 */ | |
| -webkit-animation-delay: 0.16s; | |
| /* Safari 4.0 - 8.0 */ | |
| animation-name: example7; | |
| animation-duration: 4s; | |
| animation-delay: 0.16; | |
| animation-fill-mode: forwards; | |
| animation-direction: alternate; | |
| } | |
| @-webkit-keyframes example7 { | |
| 0% { | |
| right: -400px; | |
| opacity: 0; | |
| } | |
| 100% { | |
| right: -153px; | |
| opacity: 1; | |
| } | |
| } | |
| .cover div { | |
| transition: 0.4s all ease-in-out; | |
| } | |
| .cover div:hover { | |
| background: #009110; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="cover"> | |
| <div class="circle"></div> | |
| <div class="green"></div> | |
| <div class="square"></div> | |
| <div class="mini"></div> | |
| <div class="minii"></div> | |
| <div class="squaree"></div> | |
| <div class="big"></div> | |
| <div class="bigg"></div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"view":"separate","fontsize":"100","seethrough":"1","prefixfree":"","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment