My First CSS Animation
How do I make an my first css animation?
Tutorial followed from: http://webdesign.tutsplus.com/tutorials/a-beginners-introduction-to-css-animation--cms-21068. What is a my first css animation? How do you make a my first css animation? This script and codes were developed by Jacob Poston on 27 December 2022, Tuesday.
My First CSS Animation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>My First CSS Animation</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!--My first animation-->
<!--https://webdesign.tutsplus.com/tutorials/a-beginners-introduction-to-css-animation--cms-21068-->
<div class="box-circle-transform"></div>
</body>
</html>
My First CSS Animation - Script Codes CSS Codes
@-webkit-keyframes square-to-circle { 0%{ border-radius: 0 0 0 0; transform: rotate(0deg); background:coral; } 25%{ border-radius: 50% 0 0 0; transform: rotate(45deg); background:darksalmon; } 50%{ border-radius: 50% 50% 0 0; transform: rotate(90deg); background:indianred; } 75%{ border-radius: 50% 50% 50% 0; transform: rotate(135deg); background:lightcoral; } 100%{ border-radius: 50%; transform: rotate(180deg); background:darksalmon; }
}
body{ margin:0; padding:0; background-color: #ccf; height: 100vh; width: 100vw;
}
.box-circle-transform{ margin:auto; width: 150px; height: 150px; background-color: #373737; outline: 1px solid transparent; -webkit-animation: square-to-circle 2s 1s infinite cubic-bezier(1,.015,.295,1.225) alternate; -moz-animation: square-to-circle 2s 1s infinite cubic-bezier(1,.015,.295,1.225) alternate; -ms-animation: square-to-circle 2s 1s infinite cubic-bezier(1,.015,.295,1.225) alternate; -o-animation: square-to-circle 2s 1s infinite cubic-bezier(1,.015,.295,1.225) alternate; animation: square-to-circle 2s 1s infinite cubic-bezier(1,.015,.295,1.225) alternate; position: relative; top: 50%; transform: translateY(-50%);
}
Developer | Jacob Poston |
Username | u1tralord |
Uploaded | December 27, 2022 |
Rating | 4 |
Size | 1,879 Kb |
Views | 12,144 |
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 |
Basic Jumbotron with Layers | 1,867 Kb |
Tasker Interfaces | 1,740 Kb |
Github Repo Breakdown | 4,448 Kb |
Simple Dialog | 2,504 Kb |
A Pen by Jacob Poston | 3,103 Kb |
Custom Input Form | 2,587 Kb |
Timeline | 2,601 Kb |
Database Form | 0 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 |
Custom Checkbox and radio inputs SCSS | Rgfx | 3,367 Kb |
Print element on a page | Mrs_snow | 2,081 Kb |
CSSOff 2013 Submission | Codewunder | 14,766 Kb |
Shopping List | Markmurray | 6,015 Kb |
Countdown with Rings | Ewganoel | 2,490 Kb |
Pure CSS Animated Photo Stack | Depthdev | 2,486 Kb |
PNotify Demo | Adittmar | 1,731 Kb |
Filtering with shuffle.js | Deyand | 2,712 Kb |
RWD- Mostly Fluid Layout Pattern | Marcocastro | 2,312 Kb |
P1 | Vivi_Lai | 1,533 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!