CSS loading spinners
How do I make an css loading spinners?
What is a css loading spinners? How do you make a css loading spinners? This script and codes were developed by Ludvig Lindblom on 25 July 2022, Monday.
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"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ html { font-size: 62.5%; background: #333;
}
.loading { animation: spin 1s linear infinite;
}
.loading.one,
.loading.two { border-radius: 50%; content: ""; margin: 4em auto 0 auto;
}
.loading.one { width: 0; height: 0; border: solid 4em; border-color: transparent transparent #f55 transparent;
}
.loading.two { width: 3em; height: 3em; border: solid 2.5em; border-color: #f55 transparent #f55 transparent;
}
.loading.three,
.loading.four{ width: 7em; height: 7em; margin: 4em auto 0 auto; border-radius: 50%; border-left: solid 1em #f55; border-top: solid 1em transparent;
}
.loading.four { border-left-style: dotted;
}
@keyframes spin { to { transform: rotate(1turn); }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="loading one"></div>
<div class="loading two"></div>
<div class="loading three"></div>
<div class="loading four"></div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
CSS loading spinners - Script Codes CSS Codes
html { font-size: 62.5%; background: #333;
}
.loading { animation: spin 1s linear infinite;
}
.loading.one,
.loading.two { border-radius: 50%; content: ""; margin: 4em auto 0 auto;
}
.loading.one { width: 0; height: 0; border: solid 4em; border-color: transparent transparent #f55 transparent;
}
.loading.two { width: 3em; height: 3em; border: solid 2.5em; border-color: #f55 transparent #f55 transparent;
}
.loading.three,
.loading.four{ width: 7em; height: 7em; margin: 4em auto 0 auto; border-radius: 50%; border-left: solid 1em #f55; border-top: solid 1em transparent;
}
.loading.four { border-left-style: dotted;
}
@keyframes spin { to { transform: rotate(1turn); }
}
Developer | Ludvig Lindblom |
Username | ludviglindblom |
Uploaded | July 25, 2022 |
Rating | 3 |
Size | 2,163 Kb |
Views | 64,768 |
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!
Name | Size |
I Am Left logo as a scalable canvas | 2,240 Kb |
Circle star | 2,690 Kb |
Css arrows and pies | 2,584 Kb |
Canvas pie chart with CSS bar chart fallback | 4,014 Kb |
Christmas ornaments | 2,124 Kb |
Rainy days | 227,548 Kb |
Disable JavaScript execution from console | 2,534 Kb |
Christmas Tree | 2,301 Kb |
Canvas animation | 2,386 Kb |
CSS optical illusion | 3,443 Kb |
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!
Name | Username | Size |
Simple Carousel Pure CSS | Dangvanthanh | 4,080 Kb |
CSS 3D Radio buttons | Andreasnylin | 1,650 Kb |
P1 | Vivi_Lai | 1,533 Kb |
Kudos Please | TimPietrusky | 6,624 Kb |
Css3 only dropdown menu | Riogrande | 2,519 Kb |
Testing Code Pen | Jduprey | 1,468 Kb |
Simple animated hover effect | Pobee-norris | 3,044 Kb |
Twinkling Stars | Ripley6811 | 2,750 Kb |
Learning FlexBox | Alex_rodrigues | 2,821 Kb |
Drill-down Map | Good886 | 8,484 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!