Border Radius Bouncer
How do I make an border radius bouncer?
What is a border radius bouncer? How do you make a border radius bouncer? This script and codes were developed by Zachary Olson on 10 November 2022, Thursday.
Border Radius Bouncer - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Border Radius Bouncer</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="bounceguy"> <div class="bounceguy-eye"> <div class="bounceguy-eye-iris"></div> </div> <div class="bounceguy-eye"> <div class="bounceguy-eye-iris"></div> </div> <div class="bounceguy-mouth"></div>
</div> <script src="js/index.js"></script>
</body>
</html>
Border Radius Bouncer - Script Codes CSS Codes
#bounceguy { position: relative; width: 300px; height: 200px; background: radial-gradient(ellipse at center, rgba(168,196,129,1) 32%,rgba(125,193,23,1) 100%); text-align: center; -webkit-animation: bounce 1s infinite alternate; -moz-animation: bounce 1s infinite alternate; animation: bounce 1s infinite alternate;
}
@-webkit-keyframes bounce { from { top: 80px; border-radius: 50% / 100% 100% 0 0; } to { top: 10px; border-radius: 50%; }
}
@-moz-keyframes bounce { from { top: 80px; border-radius: 50% / 100% 100% 0 0; } to { top: 10px; border-radius: 50%; }
}
@keyframes bounce { from { top: 80px; border-radius: 50% / 100% 100% 0 0; } to { top: 10px; border-radius: 50%; }
}
.bounceguy-mouth:before, .bounceguy-mouth:after { display: inline-block; content: ''; width: 20px; height: 15px; background-color: #FFF; border-radius: 0 0 20% 20%;
}
.bounceguy-mouth:before { margin-right: 5px;
}
.bounceguy-mouth { position: relative; width: 70px; height: 40px; top: 75px; margin: 0 auto; background-color: #000; background: radial-gradient(ellipse at 50% 100%, #6E1011 0%,#000 60%); -webkit-animation: mouthchange 4s infinite alternate; -moz-animation: mouthchange 4s infinite alternate; animation: mouthchange 4s infinite alternate;
}
@-webkit-keyframes mouthchange { from { border-radius: 50% / 0 0 100% 100%; } 50% { border-radius: 50% / 0 0 100% 100%; } 70% { border-radius: 20% 20% 50% 50%; } 100% { border-radius: 20% 20% 50% 50%; }
}
@-moz-keyframes mouthchange { from { border-radius: 50% / 0 0 100% 100%; } 50% { border-radius: 50% / 0 0 100% 100%; } 70% { border-radius: 20% 20% 50% 50%; } 100% { border-radius: 20% 20% 50% 50%; }
}
@keyframes mouthchange { from { border-radius: 50% / 0 0 100% 100%; } 50% { border-radius: 50% / 0 0 100% 100%; } 70% { border-radius: 20% 20% 50% 50%; } 100% { border-radius: 20% 20% 50% 50%; }
}
.bounceguy-eye { display: inline-block; position: relative; top: 45px; padding: 25px; background-color: #FFF; border-radius: 50%; overflow: hidden;
}
.bounceguy-eye:before { display: block; content: ''; position: absolute; width: 50px; height: 25px; top: -30px; left: 0; border-radius: 50%; border-top: 3px solid brown;
}
.bounceguy-eye:first-of-type { margin-right: 20px;
}
.bounceguy-eye-iris { position: absolute; padding: 15px; background-color: #000; border-radius: 50%; -webkit-animation: irismove 2s infinite alternate; -moz-animation: irismove 2s infinite alternate; animation: irismove 2s infinite alternate;
}
.bounceguy-eye-iris:after { display: block; content: ''; width: 10px; height: 10px; position: absolute; top: 6px; right: 8px; border-top: 3px solid #CCC; border-radius: 50%; -webkit-transform: rotate(50deg); -moz-transform: rotate(50deg); transform: rotate(50deg);
}
@-webkit-keyframes irismove { 70% { bottom: 20px; left: 7px; } 85% { bottom: 0; left: 10px; } 100% { bottom: 5px; left: 16px; }
}
@-moz-keyframes irismove { 70% { bottom: 20px; left: 7px; } 85% { bottom: 0; left: 10px; } 100% { bottom: 5px; left: 16px; }
}
@keyframes irismove { 70% { bottom: 20px; left: 7px; } 85% { bottom: 0; left: 10px; } 100% { bottom: 5px; left: 16px; }
}
#bounceguy { margin: 0 auto; }
body { background-color: #C1FAF5 }
Border Radius Bouncer - Script Codes JS Codes
/* Loved Lea Verou's border radius presentation, and thought I'd try to re make the little character she made in it https://vimeo.com/70171266?utm_source=CSS-Weekly&utm_campaign=Issue-69&utm_medium=web
*/

Developer | Zachary Olson |
Username | zacharyolson |
Uploaded | November 10, 2022 |
Rating | 3 |
Size | 2,415 Kb |
Views | 18,207 |
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 |
Nerdventure Feed | 4,817 Kb |
A Pen by Zachary Olson | 1,163 Kb |
Direction-aware hover with pure css | 3,596 Kb |
Css version of macbook dribbble | 2,919 Kb |
IPad Mock | 2,008 Kb |
D3 version of animated chart dribbble | 4,327 Kb |
IMac Mock | 2,046 Kb |
Convert JSON to ruby hash | 2,000 Kb |
Blackberry Mock | 1,865 Kb |
Hovers with popups | 2,380 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 |
Cant get enough icecream in pure css3 | Melawire | 4,322 Kb |
CSS Grid Overlay | Cliffpyles | 3,090 Kb |
Sample Profile Screen | OurDailyBread | 5,375 Kb |
Simple Linear Regression with Editable Table | Melatonind | 3,264 Kb |
CSS Social Media Icon | TychoBlender | 3,871 Kb |
Awesome Full Page Menu Nav | Ey_intuitive | 4,194 Kb |
Google Maps API Ground Overlay | Boycetrus | 2,961 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
Starfield using KineticJS | Asp | 3,512 Kb |
Gradient-ui-button-mark-fx | Tabspace | 1,881 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!