Datasets:
File size: 1,306 Bytes
61cb1f4 | 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 | <!DOCTYPE html>
<html>
<head>
<style>/**
* This work is licensed under the Creative Commons
* Attribution 3.0 Unported License. To view a copy
* of this license, visit http://creativecommons.org/licenses/by/3.0/.
*
* Author: Girish Sharma <scrapmachines@gmail.com>
*/
/* Demo specific styles begin */
* {margin: 0; padding: 0;}
body {
background: #eee;
}
.loader-3d {
top: calc(50% - 12.5px);
left: calc(50% - 100px);
position: absolute !important;
}
/* Demo specific styles end */
.loader-3d, .loader-3d:before, .loader-3d:after {
width: 200px;
height: 40px;
background: no-repeat;
background-image: radial-gradient(closest-side, #111 100%, transparent), radial-gradient(closest-side, #111 100%, transparent);
background-size: 20px 20px, 20px 20px;
background-position: 0% center, 100% center;
position: absolute;
transform: translateZ(0);
animation: slide 1.5s cubic-bezier(.5,0,.5,1) infinite, zoom ease-out .75s infinite alternate;
content: '';
}
.loader-3d {
animation-delay: .5s;
}
.loader-3d:after {
animation-delay: 1s;
}
@keyframes slide {
to {
background-position: 100%, 0;
}
}
@keyframes zoom {
to {
background-size: 40px 40px, 10px 10px;
}
}</style>
</head>
<body>
<div class="loader-3d"></div>
<script></script>
</body>
</html> |