CSS Loading Spinners

Developer
Size
3,969 Kb
Views
52,624

How do I make an css loading spinners?

Testing out some options for a CSS Loading spinner.. What is a css loading spinners? How do you make a css loading spinners? This script and codes were developed by Andy McFee on 09 August 2022, Tuesday.

CSS Loading Spinners Previews

CSS Loading Spinners - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Loading Spinners</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <h1>Loading...</h1> <ul> <li> <div class="loading"> <div class="icon">✓</div> <div class="circle"></div> </div> </li> <li> <div class="loading "> <div class="icon">✓</div> <div class="circle spin-cw"></div> </div> </li> <li> <div class="loading rotate-y"> <div class="icon">✓</div> <div class="circle"></div> </div> </li> <li> <div class="loading"> <div class="icon">✓</div> <div class="circle rotate-spin"></div> </div> </li> </ul>
</div>
</body>
</html>

CSS Loading Spinners - Script Codes CSS Codes

html { height: 100%;
}
body { *zoom: 1; filter: progid:DXImageTransform.Microsoft.gradient(gradientType=1, startColorstr='#FF84E900', endColorstr='#FF4A8300'); background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmY5NiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2YyZmY2ZSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); background-size: 100%; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffff96), color-stop(100%, #f2ff6e)); background-image: -moz-linear-gradient(top, #ffff96 0%, #f2ff6e 100%); background-image: -webkit-linear-gradient(top, #ffff96 0%, #f2ff6e 100%); background-image: linear-gradient(to bottom, #ffff96 0%, #f2ff6e 100%); height: 100%;
}
.container { text-shadow: 1px 1px 0 rgba(132, 233, 0, 0.3); margin: 0 auto; padding: 40px 0 0; position: relative; text-align: center; text-transform: uppercase; width: 400px;
}
h1 { color: rgba(82, 183, 0, 0.4);
}
ul { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0; padding: 0; width: 100%;
}
li { display: inline-block; height: 60px; margin: 0 10px;
}
.loading { margin: 0; padding: 0; position: relative; width: 60px;
}
.icon,
.circle { height: 60px; left: 0; line-height: 60px; position: absolute; top: 0; width: 60px;
}
.icon { color: #52b700; font-size: 30px;
}
.circle { -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; border: 6px solid #52b700; color: #52b700; display: block; font-size: 30px; height: 60px; line-height: 50px; margin: 0 auto; width: 60px; -webkit-perspective: 300; /* Safari 4+, Chrome 12+ */ -moz-perspective: 300; /* Firefox 10+ */ -ms-perspective: 300; /* IE10+ */ perspective: 300; -webkit-transform: rotateY(0deg); -webkit-transform-style: preserve-3d; -moz-transform: rotateY(0deg); -moz-transform-style: preserve-3d; -ms-transform: rotateY(0deg); -ms-transform-style: preserve-3d; transform: rotateY(0deg); transform-style: preserve-3d;
}
.rotate-y { -webkit-animation: rotate-y 1.3s linear .2s infinite; -moz-animation: rotate-y 1.3s linear .2s infinite; animation: rotate-y 1.3s linear .2s infinite;
}
.spin-cw { border-bottom-color: transparent; -webkit-animation: spin-cw 1.3s linear .2s infinite; -moz-animation: spin-cw 1.3s linear .2s infinite; animation: spin-cw 1.3s linear .2s infinite;
}
.rotate-spin { border-bottom-color: transparent; -webkit-animation: rotate-spin 1.3s linear .2s infinite; -moz-animation: rotate-spin 1.3s linear .2s infinite; animation: rotate-spin 1.3s linear .2s infinite;
}
@-webkit-keyframes spin-cw { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); }
}
@-moz-keyframes spin-cw { 0% { -moz-transform: rotate(0deg); } 100% { -moz-transform: rotate(360deg); }
}
@-o-keyframes spin-cw { 0% { -o-transform: rotate(0deg); } 100% { -o-transform: rotate(360deg); }
}
@keyframes spin-cw { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); }
}
@-webkit-keyframes spin-ccw { 0% { -webkit-transform: rotate(360deg); } 100% { -webkit-transform: rotate(0deg); }
}
@-moz-keyframes spin-ccw { 0% { -moz-transform: rotate(360deg); } 100% { -moz-transform: rotate(0deg); }
}
@-o-keyframes spin-ccw { 0% { -o-transform: rotate(360deg); } 100% { -o-transform: rotate(0deg); }
}
@keyframes spin-ccw { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); }
}
@-webkit-keyframes rotate-y { 0% { -webkit-transform: rotateY(0deg); } 100% { -webkit-transform: rotateY(360deg); }
}
@-moz-keyframes rotate-y { 0% { -moz-transform: rotateY(0deg); } 100% { -moz-transform: rotateY(360deg); }
}
@keyframes rotate-y { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); }
}
@-webkit-keyframes rotate-spin { 0% { -webkit-transform: rotateY(0deg) rotateZ(0deg); } 100% { -webkit-transform: rotateY(360deg) rotateZ(360deg); }
}
@-moz-keyframes rotate-spin { 0% { -moz-transform: rotate(360deg); } 100% { -moz-transform: rotate(0deg); }
}
@-o-keyframes rotate-spin { 0% { -o-transform: rotate(360deg); } 100% { -o-transform: rotate(0deg); }
}
@keyframes rotate-spin { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); }
}
CSS Loading Spinners - Script Codes
CSS Loading Spinners - Script Codes
Home Page Home
Developer Andy McFee
Username andymcfee
Uploaded August 09, 2022
Rating 3.5
Size 3,969 Kb
Views 52,624
Do you need developer help for CSS Loading Spinners?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Andy McFee (andymcfee) Script Codes
Create amazing Facebook ads with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!