Tilted Horizontal 3D spinner in pure CSS

Developer
Size
2,912 Kb
Views
54,648

How do I make an tilted horizontal 3d spinner in pure css?

This is a slightly 3D tilted version of my previous pen http://codepen.io/scrapmac/pen/dmKgE . Yup, and still using just CSS and 1 DOM element.. What is a tilted horizontal 3d spinner in pure css? How do you make a tilted horizontal 3d spinner in pure css? This script and codes were developed by Girish Sharma on 02 August 2022, Tuesday.

Tilted Horizontal 3D spinner in pure CSS Previews

Tilted Horizontal 3D spinner in pure CSS - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Tilted Horizontal 3D spinner in pure CSS</title> <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! */ /** * 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 <[email protected]> */
/* Demo specific styles begin */
* {margin: 0; padding: 0;}
body { background: #eee;
}
.loader-3d { top: calc(50% - 50px); left: calc(50% - 100px); position: absolute !important;
}
/* Demo specific styles end */
.loader-3d, .loader-3d:before, .loader-3d:after { width: 200px; height: 20px; position: absolute; 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; background-repeat: no-repeat; animation: slide 1.5s cubic-bezier(.5,0,.5,1) infinite, zoom ease-out .75s infinite alternate, center-margin ease-out .75s infinite alternate; opacity: 0; content: '';
}
.loader-3d { animation: slide 1.5s cubic-bezier(.5,0,.5,1) .5s infinite, zoom ease-out .75s infinite .5s alternate, center-padding ease-out .75s infinite .5s alternate !important; background-origin: content-box !important; height: 100px; opacity: 1;
}
.loader-3d:after { animation-delay: 1s;
}
@keyframes slide { 0% { background-position: 0, 100%; opacity: 1; } 0.001% { background-position: 0 0, 100% 100%; } 99.999% { background-position: 100% 0, 0 100%; } to { background-position: 100%, 0; opacity: 1; }
}
@keyframes zoom { to { background-size: 40px 40px, 10px 10px; }
}
@keyframes center-margin { from { top: calc(50% - 10px); } to { top: 0; height: 100px }
}
@keyframes center-padding { from { padding: 40px 0; height: 20px; }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="loader-3d"></div>
</body>
</html>

Tilted Horizontal 3D spinner in pure CSS - Script Codes CSS Codes

/** * 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  */
/* Demo specific styles begin */
* {margin: 0; padding: 0;}
body { background: #eee;
}
.loader-3d { top: calc(50% - 50px); left: calc(50% - 100px); position: absolute !important;
}
/* Demo specific styles end */
.loader-3d, .loader-3d:before, .loader-3d:after { width: 200px; height: 20px; position: absolute; 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; background-repeat: no-repeat; animation: slide 1.5s cubic-bezier(.5,0,.5,1) infinite, zoom ease-out .75s infinite alternate, center-margin ease-out .75s infinite alternate; opacity: 0; content: '';
}
.loader-3d { animation: slide 1.5s cubic-bezier(.5,0,.5,1) .5s infinite, zoom ease-out .75s infinite .5s alternate, center-padding ease-out .75s infinite .5s alternate !important; background-origin: content-box !important; height: 100px; opacity: 1;
}
.loader-3d:after { animation-delay: 1s;
}
@keyframes slide { 0% { background-position: 0, 100%; opacity: 1; } 0.001% { background-position: 0 0, 100% 100%; } 99.999% { background-position: 100% 0, 0 100%; } to { background-position: 100%, 0; opacity: 1; }
}
@keyframes zoom { to { background-size: 40px 40px, 10px 10px; }
}
@keyframes center-margin { from { top: calc(50% - 10px); } to { top: 0; height: 100px }
}
@keyframes center-padding { from { padding: 40px 0; height: 20px; }
}
Tilted Horizontal 3D spinner in pure CSS - Script Codes
Tilted Horizontal 3D spinner in pure CSS - Script Codes
Home Page Home
Developer Girish Sharma
Username grssam
Uploaded August 02, 2022
Rating 3
Size 2,912 Kb
Views 54,648
Do you need developer help for Tilted Horizontal 3D spinner in pure CSS?

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!

Girish Sharma (grssam) Script Codes
Create amazing art & images 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!