CSS3 Animation
How do I make an css3 animation?
Working on some ideas for a new spinning logo.. What is a css3 animation? How do you make a css3 animation? This script and codes were developed by Kyle on 16 October 2022, Sunday.
CSS3 Animation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS3 Animation</title> <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 id="experiment"> <div id="cube"> <div class="face one"></div> <div class="face two"></div> <div class="face three"></div> <div class="face four"></div> <div class="face five"></div> <div class="face six"></div> <div class="circle"></div> <div class="circle circ"></div> <div class="circle circl"></div> </div>
</div>
</body>
</html>
CSS3 Animation - Script Codes CSS Codes
* { box-sizing: border-box;
}
@-webkit-keyframes spin { from { -webkit-transform: rotateY(0deg) rotateX(40deg); } to { -webkit-transform: rotateY(360deg) rotateX(40deg); }
}
@-webkit-keyframes circle { 0% { left: 0; top: 0; } 50% { left: 160px; top: 160px; } 100% { left: 0; top: 0; }
}
#experiment { -webkit-perspective: 1000; -webkit-perspective-origin: 60% 300px;
}
#cube { position: relative; width: 200px; height: 200px; text-align: center; margin: 100px auto; -webkit-transition: -webkit-transform 2s linear; -webkit-transform-style: preserve-3d; -webkit-animation: spin 5s linear infinite;
}
#cube .face { position: absolute; height: 100%; width: 100%; padding: 30px; background-color: rgba(30, 150, 45, 0.6); border: 1px solid rgba(30, 100, 60, 0.6);
}
#cube .one { -webkit-transform: rotateX(90deg) translateZ(100px);
}
#cube .two { -webkit-transform: translateZ(100px);
}
#cube .three { -webkit-transform: rotateY(90deg) translateZ(100px);
}
#cube .four { -webkit-transform: rotateY(180deg) translateZ(100px);
}
#cube .five { -webkit-transform: rotateY(-90deg) translateZ(100px);
}
#cube .six { -webkit-transform: rotateX(-90deg) translateZ(100px);
}
#cube .circle { border-radius: 20px; height: 40px; width: 40px; background-color: red; position: absolute; top: -80px; left: -80px; -webkit-animation: circle 5s linear infinite;
}
#cube .circ { -webkit-transform: rotateX(90deg);
}
#cube .circl { -webkit-transform: rotateY(90deg);
}
Developer | Kyle |
Username | kbrec85 |
Uploaded | October 16, 2022 |
Rating | 3 |
Size | 2,556 Kb |
Views | 20,240 |
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 |
SIdebar for g and g idea | 2,793 Kb |
HR styling for forums | 1,917 Kb |
Logo Round 1 | 2,423 Kb |
A Pen by Kyle | 2,009 Kb |
Hyphen test | 2,562 Kb |
Quilt Loader | 2,649 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 |
To Do List with Delete | Mattlbrody | 2,068 Kb |
Awesome | Samarthpd | 2,901 Kb |
Z-index demo | Kblh | 1,534 Kb |
Alumni ECA | MatheusLima92 | 3,777 Kb |
HTM5 picture dropzone | Jaysalvat | 2,576 Kb |
Slick Slider | Wearebold | 5,913 Kb |
How to add Css Fold Notes In Blogger By Askwithloud.com | Askwithloud | 2,280 Kb |
Video Player Custom Controls | EleftheriaBatsou | 3,665 Kb |
Hc first draft | Stepfray | 5,104 Kb |
Vertical Pan Hammer.js example | Jtangelder | 2,144 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!