清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | <!DOCTYPE html> <html> <head lang= "en" > <meta charset= "UTF-8" > <title>css3唯美loading加载动画特效 - 代码笔记</title> <style type= "text/css" > @-webkit-keyframes rotate-animation { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes rotate-animation { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @-webkit-keyframes move-animation { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(-64px, 0); transform: translate(-64px, 0); } 75% { -webkit-transform: translate(32px, 0); transform: translate(32px, 0); } 100% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } } @-webkit-keyframes move-animation { 0%{ -webkit-transform: translate(0,0); transform: translate(0,0); } } @keyframes move-animation { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(-64px, 0); transform: translate(-64px, 0); } 75% { -webkit-transform: translate(32px, 0); transform: translate(32px, 0); } 100% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } } body { background-color: #F5F5F5; } .circle-loader { display: block; width: 64px; height: 64px; margin-left: -32px; margin-top: -32px; position: absolute; left: 50%; top: 50%; -webkit-transform-origin: 16px 16px; transform-origin: 16px 16px; -webkit-animation: rotate-animation 5s infinite; animation: rotate-animation 5s infinite; -webkit-animation-timing- function : linear; animation-timing- function : linear; } .circle-loader .circle { -webkit-animation: move-animation 2.5s infinite; animation: move-animation 2.5s infinite; -webkit-animation-timing- function : linear; animation-timing- function : linear; position: absolute; left: 50%; top: 50%; } .circle-loader .circle-line { width: 64px; height: 24px; position: absolute; top: 4px; left: 0; -webkit-transform-origin: 4px 4px; transform-origin: 4px 4px; } .circle-loader .circle-line:nth-child(0) { -webkit-transform: rotate(0deg); transform: rotate(0deg); } .circle-loader .circle-line:nth-child(1) { -webkit-transform: rotate(90deg); transform: rotate(90deg); } .circle-loader .circle-line:nth-child(2) { -webkit-transform: rotate(180deg); transform: rotate(180deg); } .circle-loader .circle-line:nth-child(3) { -webkit-transform: rotate(270deg); transform: rotate(270deg); } .circle-loader .circle-line .circle:nth-child(1) { width: 8px; height: 8px; top: 50%; left: 50%; margin-top: -4px; margin-left: -4px; border-radius: 4px; -webkit-animation-delay: -0.3s; animation-delay: -0.3s; } .circle-loader .circle-line .circle:nth-child(2) { width: 16px; height: 16px; top: 50%; left: 50%; margin-top: -8px; margin-left: -8px; border-radius: 8px; -webkit-animation-delay: -0.6s; animation-delay: -0.6s; } .circle-loader .circle-line .circle:nth-child(3) { width: 24px; height: 24px; top: 50%; left: 50%; margin-top: -12px; margin-left: -12px; border-radius: 12px; -webkit-animation-delay: -0.9s; animation-delay: -0.9s; } .circle-loader .circle-blue { background-color: #1f4e5a; } .circle-loader .circle-red { background-color: #ff5955; } .circle-loader .circle-yellow { background-color: #ffb265; } .circle-loader .circle-green { background-color: #00a691; } </style> </head> <body> <div class = "page" > <div class = "circle-loader" > <div class = "circle-line" > <div class = "circle circle-blue" ></div> <div class = "circle circle-blue" ></div> <div class = "circle circle-blue" ></div> </div> <div class = "circle-line" > <div class = "circle circle-yellow" ></div> <div class = "circle circle-yellow" ></div> <div class = "circle circle-yellow" ></div> </div> <div class = "circle-line" > <div class = "circle circle-red" ></div> <div class = "circle circle-red" ></div> <div class = "circle circle-red" ></div> </div> <div class = "circle-line" > <div class = "circle circle-green" ></div> <div class = "circle circle-green" ></div> <div class = "circle circle-green" ></div> </div> </div> </div> <div style= "text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';" > <p>适用浏览器:360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. 不支持IE8及以下浏览器。</p> </div> </body> </html> |