Shaking css animation
How do I make an shaking css animation?
By Allan Jay Tomol. What is a shaking css animation? How do you make a shaking css animation? This script and codes were developed by Ghost Rider on 23 July 2022, Saturday.
Shaking css animation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Shaking css animation</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body> <center> <section class="content"> <h1>Shaking Image and Text</h1> <br> <br> <img src="https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-prn2/t1.0-9/1484185_549883401768989_236400664_n.jpg" class="shake"> <h2 class="shake">Shake this text</h2> </section> </center>
</body>
</body>
</html>
Shaking css animation - Script Codes CSS Codes
body{ background-color:#FB861D;
}
.content { margin: 5% 0 0 0%;
}
.shake { display:inline-block
}
.shake { display:block; position:relative;
}
img{
display: block;
height: 250px;
width: 250px;
border-radius: 50% 50% 50% 50%;
}
h2.shake,
.shake.inline { display:inline-block
}
h1,p,h2{ color:#FFF;
}
@-webkit-keyframes spaceboots { 0% { -webkit-transform: translate(2px, 1px) rotate(0deg); } 10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); } 20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); } 30% { -webkit-transform: translate(0px, 2px) rotate(0deg); } 40% { -webkit-transform: translate(1px, -1px) rotate(1deg); } 50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); } 60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); } 70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); } 80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); } 90% { -webkit-transform: translate(2px, 2px) rotate(0deg); } 100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}
.shake:hover,
.shake:focus { -webkit-animation-name: spaceboots; -webkit-animation-duration: 0.8s; -webkit-transform-origin:50% 50%; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: linear;
}
Developer | Ghost Rider |
Username | GhostRider |
Uploaded | July 23, 2022 |
Rating | 3.5 |
Size | 1,896 Kb |
Views | 66,792 |
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 |
JQuery parallax | 2,230 Kb |
Sudoko Solver | 29,760 Kb |
A Pen by Ghost Rider | 57,648 Kb |
Hover menu animation | 2,535 Kb |
HTML5 Contact Form | 2,336 Kb |
3d clouds | 62,515 Kb |
Laserz... | 1,848 Kb |
Canvas Heart | 3,161 Kb |
Iphone game | 3,423 Kb |
Responsive Gallery | 2,489 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 |
Basic template | Tomcat | 1,675 Kb |
Long Shadow Button | Uixcrazy | 3,550 Kb |
CSS Link Icons with jQuery Titles | Nicwinn | 2,312 Kb |
Hovers with popups | Zacharyolson | 2,380 Kb |
A Pen by boilzzz | Boilzzz | 2,761 Kb |
Comparison of Roboto Draft vs Roboto | Jxnblk | 2,880 Kb |
Border image | JohnRiordan | 2,120 Kb |
Blog Concept - Single Post | Marionebl | 9,603 Kb |
Modal Dialog | Gigaleet | 2,251 Kb |
Two column of responsive height | Fixie | 2,908 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!