CSS animations.
How do I make an css animations.?
What is a css animations.? How do you make a css animations.? This script and codes were developed by Aaron Happe on 09 November 2022, Wednesday.
CSS animations. - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS animations. </title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body>
<div class="body-svg">
<div class="clockWrapWrap"> <div class="clockWrap"> <svg class="ugh" id="clock" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 78 78.7" style="enable-background:new 0 0 78 78.7;" xml:space="preserve">
<g id="main-clock"> <!-- <circle class="st0" cx="39.2" cy="38.6" r="34.9"/> -->
</g>
<g id="dots"> <circle cx="39.2" cy="65.8" r="2.4"/> <circle cx="39.2" cy="11.4" r="2.4"/> <circle cx="12" cy="38.6" r="2.4"/> <circle cx="66.5" cy="38.6" r="2.4"/>
</g>
<g id="hands"> <line class="st1 hand1" x1="39.2" y1="38" x2="39.2" y2="11.4"/> <line class="st1 hand2" x1="39.2" y1="38" x2="39.2" y2="21.5"/>
</g>
</svg> </div>
</div>
</div>
</body> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/snap.svg/0.3.0/snap.svg-min.js'></script> <script src="js/index.js"></script>
</body>
</html>
CSS animations. - Script Codes CSS Codes
.st0{stroke:#ccc;stroke-width:3;stroke-miterlimit:10;} .st1{stroke:#ccc;stroke-width:2;stroke-linecap:round;stroke-miterlimit:10;} .body-svg { width: 100%; background: linear-gradient(2deg, #4b89c2, #4d1d42); background-size: 400% 400%; height: 900px; text-align: center; -webkit-animation: GriadientBG 60s ease infinite; animation: GriadientBG 60s ease infinite; } @-webkit-keyframes GriadientBG { 0%{background-position:55% 0%} 50%{background-position:46% 100%} 100%{background-position:55% 0%} } @keyframes GriadientBG { 0%{background-position:55% 0%} 50%{background-position:46% 100%} 100%{background-position:55% 0%} } .clockWrapWrap { display: inline-block; } .clockWrap { display: inline-block; margin-top: 2em; box-shadow: 1px 1px 3px #000; transform-origin: bottom center; } .fall { -webkit-transform: translate3d(0, 300px, 0) rotate(45deg); } .clockWobble { -webkit-animation: wob .5s cubic-bezier(.17,.67,.63,1) 3; } @-webkit-keyframes wob{ 0% { -webkit-transform: rotate(3deg); } 10% { -webkit-transform: rotate(-3deg); } 20% { -webkit-transform: rotate(4deg); } 30% { -webkit-transform: rotate(-7deg); } 40% { -webkit-transform: rotate(3deg); } 50% { -webkit-transform: rotate(-2deg); } 60%{ -webkit-transform: rotate(3deg); } 70%{ -webkit-transform: rotate(-3deg); } 80% { -webkit-transform: rotate(11deg); } 90%{ -webkit-transform: rotate(-5deg); } 100% { -webkit-transform: rotate(0deg); } } #clock { height: 300px; margin: 0 auto; cursor: pointer; } .hand1 { transform-origin: bottom center; -webkit-animation: handOne 1s linear infinite; } @-webkit-keyframes handOne { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .hand2 { transform-origin: bottom center; -webkit-animation: handTwo 60s linear infinite; } @-webkit-keyframes handTwo { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
CSS animations. - Script Codes JS Codes
$('.clockWrapWrap').on('mouseenter', function() { $('.clockWrap').addClass('clockWobble'); }); $('.clockWrapWrap').on('mouseleave', function() { $('.clockWrap').removeClass('clockWobble'); });
Developer | Aaron Happe |
Username | aaronhappe |
Uploaded | November 09, 2022 |
Rating | 3 |
Size | 2,526 Kb |
Views | 10,120 |
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 |
FF - Accordion Layout - Mobile and iPad | 4,454 Kb |
Brand Landing Products JS | 6,396 Kb |
Map prototype | 3,404 Kb |
Shoprecord - bookmarkletCSS | 1,597 Kb |
Shop Record Bookmarklet | 7,448 Kb |
A Pen by Aaron Happe | 5,525 Kb |
Nat Banner Builder | 3,516 Kb |
Snap SVG exploration | 3,250 Kb |
Playing with CSS | 1,978 Kb |
FF - Accordion Layout - DT | 5,191 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 |
CSS Tooltips | Darylldoyle | 2,599 Kb |
AOR site logo | Thatbram | 2,527 Kb |
Responsive Minimal Blog Layout | Hackthevoid | 5,261 Kb |
BSP Dungeon Generation | Xgundam05 | 5,326 Kb |
Social buttons | Flacu | 2,022 Kb |
Countdown with Rings | Ewganoel | 2,490 Kb |
Lightning | Akm2 | 19,150 Kb |
Resume | Rottingroom | 5,483 Kb |
Isometric css island | Xaddict | 2,950 Kb |
Expert Help | SinceSidSlid | 4,064 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!