280 views
1.preloader { 2 position: absolute; 3 margin-left: -55px; 4 margin-top: -100px; 5 height: 110px; 6 width: 110px; 7 left: 50%; 8 top: 50%; 9} 10 11svg { 12 width: 110px; 13 height: 110px; 14} 15 16path { 17 stroke: #9ea1a4; 18 stroke-width: 0.25; 19 fill: #241E20; 20} 21 22#cloud { 23 position: relative; 24 z-index: 2; 25} 26 27#cloud path { 28 fill: #efefef; 29} 30 31#sun { 32 margin-left: -10px; 33 margin-top: 6px; 34 opacity: 0; 35 width: 60px; 36 height: 60px; 37 position: absolute; 38 left: 45px; 39 top: 15px; 40 z-index: 1; 41 animation-name: rotate; 42 animation-duration: 16000ms; 43 animation-iteration-count: infinite; 44 animation-timing-function: linear; 45} 46 47#sun path { 48 stroke-width: 0.18; 49 fill: #9ea1a4; 50} 51 52@keyframes rotate { 53 0% { 54 transform: rotateZ(0deg); 55 } 56 57 100% { 58 transform: rotateZ(360deg); 59 } 60} 61 62/* Rain */ 63.rain { 64 position: absolute; 65 width: 70px; 66 height: 70px; 67 margin-top: -32px; 68 margin-left: 19px; 69} 70 71.drop { 72 opacity: 1; 73 background: #9ea1a4; 74 display: block; 75 float: left; 76 width: 3px; 77 height: 10px; 78 margin-left: 4px; 79 border-radius: 0px 0px 6px 6px; 80 animation-name: drop; 81 animation-duration: 350ms; 82 animation-iteration-count: infinite; 83} 84 85.drop:nth-child(1) { 86 animation-delay: -130ms; 87} 88 89.drop:nth-child(2) { 90 animation-delay: -240ms; 91} 92 93.drop:nth-child(3) { 94 animation-delay: -390ms; 95} 96 97.drop:nth-child(4) { 98 animation-delay: -525ms; 99} 100 101.drop:nth-child(5) { 102 animation-delay: -640ms; 103} 104 105.drop:nth-child(6) { 106 animation-delay: -790ms; 107} 108 109.drop:nth-child(7) { 110 animation-delay: -900ms; 111} 112 113.drop:nth-child(8) { 114 animation-delay: -1050ms; 115} 116 117.drop:nth-child(9) { 118 animation-delay: -1130ms; 119} 120 121.drop:nth-child(10) { 122 animation-delay: -1300ms; 123} 124 125@keyframes drop { 126 50% { 127 height: 45px; 128 opacity: 0; 129 } 130 131 51% { 132 opacity: 0; 133 } 134 135 100% { 136 height: 1px; 137 opacity: 0; 138 } 139} 140 141.text { 142 font-family: Helvetica, 'Helvetica Neue', sans-serif; 143 letter-spacing: 1px; 144 text-align: center; 145 margin-left: -43px; 146 font-weight: bold; 147 margin-top: 20px; 148 font-size: 11px; 149 color: #a0a0a0; 150 width: 200px; 151} 152
MIT License