Shaking mustache
How do I make an shaking mustache?
What is a shaking mustache? How do you make a shaking mustache? This script and codes were developed by Wenting Zhang on 07 November 2022, Monday.
Shaking mustache - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>shaking mustache</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="mustache"></div>
</body>
</html>
Shaking mustache - Script Codes CSS Codes
.mustache { width: 180px; height: 180px; border-radius: 100%; position: absolute; top: 0; left: 200px; color: black; box-shadow: 150px 240px 0 0 currentColor, 300px 240px 0 0 currentColor;
}
.mustache:before { content: ''; position: absolute; width: 210px; height: 120px; border-bottom: solid 180px currentColor; left: 30px; top: 120px; border-radius: 0 0 0 100%; transform: rotate(-40deg); transform-origin: right 210px; animation: shakeLeft 1s ease-in-out infinite;
}
.mustache:after { content: ''; position: absolute; width: 210px; height: 120px; border-bottom: solid 180px currentColor; left: 390px; top: 120px; border-radius: 0 0 100% 0; transform: rotate(40deg); transform-origin: left 210px; animation: shakeRight 1s ease-in-out infinite;
}
@keyframes shakeLeft { 0%{ transform: rotate(-50deg); } 50%{ transform: rotate(-30deg); } 100%{ transform: rotate(-50deg); }
}
@keyframes shakeRight { 0%{ transform: rotate(50deg); } 50%{ transform: rotate(30deg); } 100%{ transform: rotate(50deg); }
}
Developer | Wenting Zhang |
Username | wentin |
Uploaded | November 07, 2022 |
Rating | 3 |
Size | 1,708 Kb |
Views | 16,192 |
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 |
P5.js start point | 1,504 Kb |
SVG Animation | 30,040 Kb |
Algorithmic Animation javascript template | 1,865 Kb |
100 days of research | 7,754 Kb |
Algorithmic Animation with Javascript Tail | 2,356 Kb |
Color drop animation for profession.is | 3,083 Kb |
P5.js Tail | 1,745 Kb |
Pure css solution to responsive background image | 1,499 Kb |
Profession.is type transitions | 12,481 Kb |
Underline svg | 1,605 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 |
Parallax scrolling scene | Iharosi | 2,485 Kb |
A Pen by Jim Savage | Madebyjam | 2,418 Kb |
Click handler test | Snapson | 2,329 Kb |
Tooltip in table | Roine | 3,713 Kb |
Simple Flat Menu | Jeplaa | 2,467 Kb |
Fading text with CSS blend modes | Giana | 3,305 Kb |
Process Accordion | Devilskitchen | 31,432 Kb |
Off Canvas | Mariamarica | 1,870 Kb |
A Pen by Ash | Littleginger | 2,386 Kb |
Yuliya v krylova | Rafszul | 37,351 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!