|
| 1 | +body { |
| 2 | + width:100%; |
| 3 | + height:100%; |
| 4 | + background:#48A9E6; |
| 5 | + font-family: 'Raleway', sans-serif; |
| 6 | + font-weight:300; |
| 7 | + margin:0; |
| 8 | + padding:0; |
| 9 | +} |
| 10 | + |
| 11 | +#title { |
| 12 | + text-align:center; |
| 13 | + font-size:40px; |
| 14 | + margin-top:40px; |
| 15 | + margin-bottom:-40px; |
| 16 | + position:relative; |
| 17 | + color:#fff; |
| 18 | +} |
| 19 | + |
| 20 | +.circles:after { |
| 21 | + content:''; |
| 22 | + display:inline-block; |
| 23 | + width:100%; |
| 24 | + height:100px; |
| 25 | + background:#fff; |
| 26 | + position:absolute; |
| 27 | + top:-50px; |
| 28 | + left:0; |
| 29 | + transform:skewY(-4deg); |
| 30 | + -webkit-transform:skewY(-4deg); |
| 31 | +} |
| 32 | + |
| 33 | +.circles { |
| 34 | + background:#fff; |
| 35 | + text-align: center; |
| 36 | + position: relative; |
| 37 | + margin-top:-60px; |
| 38 | + box-shadow:inset -1px -4px 4px rgba(0,0,0,0.2); |
| 39 | +} |
| 40 | + |
| 41 | +.circles p { |
| 42 | + font-size: 240px; |
| 43 | + color: #fff; |
| 44 | + padding-top: 60px; |
| 45 | + position: relative; |
| 46 | + z-index: 9; |
| 47 | + line-height: 100%; |
| 48 | +} |
| 49 | + |
| 50 | +.circles p small { |
| 51 | + font-size: 40px; |
| 52 | + line-height: 100%; |
| 53 | + vertical-align: top; |
| 54 | +} |
| 55 | + |
| 56 | +.circles .circle.small { |
| 57 | + width: 140px; |
| 58 | + height: 140px; |
| 59 | + border-radius: 50%; |
| 60 | + background: #48A9E6; |
| 61 | + position: absolute; |
| 62 | + z-index: 1; |
| 63 | + top: 80px; |
| 64 | + left: 50%; |
| 65 | + animation: 7s smallmove infinite cubic-bezier(1,.22,.71,.98); |
| 66 | + -webkit-animation: 7s smallmove infinite cubic-bezier(1,.22,.71,.98); |
| 67 | + animation-delay: 1.2s; |
| 68 | + -webkit-animation-delay: 1.2s; |
| 69 | +} |
| 70 | + |
| 71 | +.circles .circle.med { |
| 72 | + width: 200px; |
| 73 | + height: 200px; |
| 74 | + border-radius: 50%; |
| 75 | + background: #48A9E6; |
| 76 | + position: absolute; |
| 77 | + z-index: 1; |
| 78 | + top: 0; |
| 79 | + left: 10%; |
| 80 | + animation: 7s medmove infinite cubic-bezier(.32,.04,.15,.75); |
| 81 | + -webkit-animation: 7s medmove infinite cubic-bezier(.32,.04,.15,.75); |
| 82 | + animation-delay: 0.4s; |
| 83 | + -webkit-animation-delay: 0.4s; |
| 84 | +} |
| 85 | + |
| 86 | +.circles .circle.big { |
| 87 | + width: 400px; |
| 88 | + height: 400px; |
| 89 | + border-radius: 50%; |
| 90 | + background: #48A9E6; |
| 91 | + position: absolute; |
| 92 | + z-index: 1; |
| 93 | + top: 200px; |
| 94 | + right: 0; |
| 95 | + animation: 8s bigmove infinite; |
| 96 | + -webkit-animation: 8s bigmove infinite; |
| 97 | + animation-delay: 3s; |
| 98 | + -webkit-animation-delay: 1s; |
| 99 | +} |
| 100 | + |
| 101 | +@-webkit-keyframes smallmove { |
| 102 | + 0% { top: 10px; left: 45%; opacity: 1; } |
| 103 | + 25% { top: 300px; left: 40%; opacity:0.7; } |
| 104 | + 50% { top: 240px; left: 55%; opacity:0.4; } |
| 105 | + 75% { top: 100px; left: 40%; opacity:0.6; } |
| 106 | + 100% { top: 10px; left: 45%; opacity: 1; } |
| 107 | +} |
| 108 | +@keyframes smallmove { |
| 109 | + 0% { top: 10px; left: 45%; opacity: 1; } |
| 110 | + 25% { top: 300px; left: 40%; opacity:0.7; } |
| 111 | + 50% { top: 240px; left: 55%; opacity:0.4; } |
| 112 | + 75% { top: 100px; left: 40%; opacity:0.6; } |
| 113 | + 100% { top: 10px; left: 45%; opacity: 1; } |
| 114 | +} |
| 115 | + |
| 116 | +@-webkit-keyframes medmove { |
| 117 | + 0% { top: 0px; left: 20%; opacity: 1; } |
| 118 | + 25% { top: 300px; left: 80%; opacity:0.7; } |
| 119 | + 50% { top: 240px; left: 55%; opacity:0.4; } |
| 120 | + 75% { top: 100px; left: 40%; opacity:0.6; } |
| 121 | + 100% { top: 0px; left: 20%; opacity: 1; } |
| 122 | +} |
| 123 | + |
| 124 | +@keyframes medmove { |
| 125 | + 0% { top: 0px; left: 20%; opacity: 1; } |
| 126 | + 25% { top: 300px; left: 80%; opacity:0.7; } |
| 127 | + 50% { top: 240px; left: 55%; opacity:0.4; } |
| 128 | + 75% { top: 100px; left: 40%; opacity:0.6; } |
| 129 | + 100% { top: 0px; left: 20%; opacity: 1; } |
| 130 | +} |
| 131 | + |
| 132 | +@-webkit-keyframes bigmove { |
| 133 | + 0% { top: 0px; right: 4%; opacity: 0.5; } |
| 134 | + 25% { top: 100px; right: 40%; opacity:0.4; } |
| 135 | + 50% { top: 240px; right: 45%; opacity:0.8; } |
| 136 | + 75% { top: 100px; right: 35%; opacity:0.6; } |
| 137 | + 100% { top: 0px; right: 4%; opacity: 0.5; } |
| 138 | +} |
| 139 | +@keyframes bigmove { |
| 140 | + 0% { top: 0px; right: 4%; opacity: 0.5; } |
| 141 | + 25% { top: 100px; right: 40%; opacity:0.4; } |
| 142 | + 50% { top: 240px; right: 45%; opacity:0.8; } |
| 143 | + 75% { top: 100px; right: 35%; opacity:0.6; } |
| 144 | + 100% { top: 0px; right: 4%; opacity: 0.5; } |
| 145 | +} |
0 commit comments