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 |
Quilt Loader | 2,649 Kb |
A Pen by Kyle | 2,009 Kb |
Logo Round 1 | 2,423 Kb |
Hyphen test | 2,562 Kb |
HR styling for forums | 1,917 Kb |
CSS3 Animation | 2,556 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 |
Funny menu | AxeLVaisper | 4,671 Kb |
Placeholder support for contentEditable elements, without JavaScript | Flesler | 1,863 Kb |
Html5-canvas-snow-effect | MariamMassadeh | 2,609 Kb |
The Walking Raymarcher | Xorxor_hu | 7,934 Kb |
Brown by pure CSS, no image, no javascript | Aaronchuo | 2,652 Kb |
CardMove | Thompsonemerson | 3,699 Kb |
Playing with FlexBox | _Billy_Brown | 3,162 Kb |
Fullscreen audio play button | 72 | 2,148 Kb |
Web Spiral - p5.js | TWAIN | 2,183 Kb |
Buttons with style | Chbymnky | 2,082 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!