Cheeky CSS Walkcycle

Developer
Size
3,265 Kb
Views
12,144

How do I make an cheeky css walkcycle?

What is a cheeky css walkcycle? How do you make a cheeky css walkcycle? This script and codes were developed by Houbly on 28 November 2022, Monday.

Cheeky CSS Walkcycle Previews

Cheeky CSS Walkcycle - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Cheeky CSS Walkcycle</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="body">	<div class="head"></div>	<div class="r-arm"></div>	<div class="l-arm"></div>	<div class="torso"></div>	<div class="r-leg"></div>	<div class="l-leg"></div>
</div>
<div class="lamp"></div>
</body>
</html>

Cheeky CSS Walkcycle - Script Codes CSS Codes

body { background: #000; overflow: hidden;
}
.lamp { mix-blend-mode: difference; background: darkblue; height: 100vh; width: 50vw; position: absolute; z-index: 100; left: 100%; animation: left 20s linear infinite;
}
.lamp::after { content: ''; background-color: #f00; height: 100%; width: 100%; position: absolute; left: 50vw;
}
.body { position: absolute; left: 50%; top: 50%; height: 100px; width: 50px; animation: bounce 0.5s ease-in-out infinite; mix-blend-mode: difference; transform-origin: 25px 80px;
}
.body .head { position: absolute; top: -45px; height: 50px; width: 40px; border-radius: 20px; background: #fff; left: 8px; animation: bounce 0.5s cubic-bezier(0.93, 0.11, 0.85, 0.82) infinite;
}
.body .head::before { content: ''; width: 16px; height: 30px; position: absolute; background: #fff; left: calc(50% - 10px); top: calc(100% - 16px);
}
.body .torso { border-radius: 100% 100% 50% 50%; background: #fff; height: 100%; width: 100%; box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}
.body .r-arm, .body .l-arm { height: 50px; position: absolute; width: 20px; box-shadow: 0 5px 5px rgba(0, 0, 0, 0.35); border-radius: 50% 10px 10px 10px; background: #fff; top: 15px; transform-origin: 10px 10px; transform: rotate(-5deg); animation: r-arm 1s ease-in-out infinite; z-index: 10;
}
.body .r-arm::before, .body .l-arm::before { content: ''; background: #fff; height: 50px; width: 100%; display: 100%; position: absolute; top: calc(100% - 20px); z-index: 10; display: block; left: 0; border-radius: 10px; transform: rotate(-30deg); transform-origin: 10px 10px; box-shadow: 0 5px 5px rgba(0, 0, 0, 0.35); animation: r-arm-lower 1s ease-in-out infinite;
}
.body .l-arm { height: 50px; position: absolute; width: 20px; top: 10px; right: 10px; z-index: -1; transform: rotate(20deg); animation: l-arm 1s ease-in-out infinite;
}
.body .l-arm::before { animation: l-arm-lower 1s ease-in-out infinite;
}
.body .r-leg { position: absolute; height: 50px; width: 20px; background: #fff; border-radius: 10px; bottom: -20px; left: 3px; transform: rotate(20deg); transform-origin: 10px 10px; z-index: 1; box-shadow: 0 5px 5px rgba(0, 0, 0, 0.35); animation: r-leg 1s ease-in-out infinite;
}
.body .r-leg::before { content: ''; width: 100%; height: 60px; background: #fff; transform-origin: 10px 10px; position: absolute; top: calc(100% - 20px); border-radius: 20px; animation: r-leg-lower 1s ease-out infinite;
}
.body .l-leg { position: absolute; height: 50px; width: 20px; background: #fff; border-radius: 10px; bottom: -15px; transform: rotate(-20deg); transform-origin: 10px 10px; z-index: -1; right: 10px; box-shadow: 0 5px 5px rgba(0, 0, 0, 0.35); animation: l-leg 1s ease-in-out infinite;
}
.body .l-leg::before { content: ''; width: 100%; height: 60px; background: #fff; transform: rotate(10deg); transform-origin: 10px 10px; position: absolute; top: calc(100% - 20px); border-radius: 20px; animation: l-leg-lower 1s ease-in-out infinite;
}
@keyframes r-arm { 0% { transform: rotate(-5deg); } 50% { transform: rotate(20deg); }
}
@keyframes r-arm-lower { 0% { transform: rotate(-30deg); } 50% { transform: rotate(0deg); }
}
@keyframes l-arm { 0% { transform: rotate(20deg); } 50% { transform: rotate(-5deg); }
}
@keyframes l-arm-lower { 0% { transform: rotate(0deg); } 50% { transform: rotate(-30deg); } 100% { transform: rotate(0deg); }
}
@keyframes r-leg { 0% { transform: rotate(30deg); } 50% { transform: rotate(-20deg); } 100% { transform: rotate(30deg); }
}
@keyframes r-leg-lower { 0% { transform: rotate(0deg); } 30% { transform: rotate(30deg); } 50% { transform: rotate(0deg); } 100% { transform: rotate(0deg); }
}
@keyframes l-leg { 0% { transform: rotate(-30deg) translateY(5px); } 50% { transform: rotate(20deg); } 100% { transform: rotate(-30deg) translateY(5px); }
}
@keyframes l-leg-lower { 0% { transform: rotate(0deg); } 50% { transform: rotate(0deg); } 80% { transform: rotate(30deg); } 100% { transform: rotate(0deg); }
}
@keyframes bounce { 0% { transform: translate(0, -3px); } 50% { transform: translate(0); } 100% { transform: translate(0, -3px); }
}
@keyframes left { 0% { transform: translateX(0); } 100% { transform: translateX(-200vw); }
}
Cheeky CSS Walkcycle - Script Codes
Cheeky CSS Walkcycle - Script Codes
Home Page Home
Developer Houbly
Username houbly
Uploaded November 28, 2022
Rating 3
Size 3,265 Kb
Views 12,144
Do you need developer help for Cheeky CSS Walkcycle?

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!

Houbly (houbly) Script Codes
Create amazing sales emails with AI!

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!