<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.loader {
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid white;
border-bottom: 16px solid white;
width: 120px;
height: 120px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<h2>How To Create A Loader</h2>
<div class="loader"></div>
</body>
</html>
Code Example |
---|
Css :: sass variable |
Css :: add border to png outline css |
Css :: how to put different p elements next to each |
Css :: text color css |
Css :: crop image in div |
Css :: css overflow |
Css :: increase space between dashed border css |
Css :: css flexbox syntax |
Css :: css change multiple classes |
Css :: html checkbox change styling |
Css :: CSS cloud shape |
Css :: transition behaviour in css |
Css :: two line ellipsed |
Css :: linear gradient in css |
Css :: card with css grid |
Css :: jQuery ripple effects |
Css :: animation-direction in css |
Css :: deploy truffle project on testnet |
Css :: calculate using n nth-child |
Css :: make background overlay css |
Css :: css italics |
Css :: remove required effect in css |
Css :: how to change font color in css |
Css :: jquery woocommerce disable add to cart css |
Css :: get scrollbar width css |
Css :: css mask cut diagonal |
Css :: check browser on css |
Css :: changer couleur liens cliqués css |
Css :: media query change button text |
Css :: make element fit in page |