Dancing Pug
How do I make an dancing pug?
This is a quick project that I wanted to make. I took the original idea from the https://www.goabstract.com footer, the party bird character. . What is a dancing pug? How do you make a dancing pug? This script and codes were developed by Angela Velasquez on 30 October 2022, Sunday.
Dancing Pug - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Dancing Pug</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container--center"> <h2>Dancing pug</h2> <div class="dancing-pug"> <ul> <li class="ear"></li> <li class="ear"></li> <li class="eye"></li> <li class="eye"></li> <li></li> </ul> </div>
</div> <script src="js/index.js"></script>
</body>
</html>
Dancing Pug - Script Codes CSS Codes
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Lato:900");
/* Variables */
body { background-color: #ED5754; font-family: 'Lato', sans-serif;
}
h2 { color: #FFDBB2; text-transform: uppercase;
}
.absolute-center, .container--center, .dancing-pug { display: block; position: absolute; margin: auto; top: 0; left: 0; right: 0; bottom: 0;
}
.absolute-auto, ul, li { display: block; position: absolute; margin: auto;
}
.container--center { position: absolute; height: 240px; width: 240px; text-align: center;
}
.dancing-pug { height: 100px; width: 100px;
}
.dancing-pug:before { display: block; content: ''; position: absolute; bottom: 0; height: 40px; width: 100%; border-radius: 40px 40px 0 0; background-color: #FFD6A8;
}
ul { height: 80px; width: 80px; padding: 0; left: 10px; background-color: #FFDBB2; border-radius: 50px; list-style: none; -webkit-animation: pugdancing 1s ease-in-out infinite; animation: pugdancing 1s ease-in-out infinite;
}
ul:after { display: block; content: '• '; color: #4F200A; position: absolute; z-index: 2; margin: auto; bottom: 14px; left: 0; right: 0; height: 30px; width: 40px; border-radius: 20px; background-color: #794932;
}
.ear { width: 0; z-index: 3; border-color: transparent; border-style: solid; border-width: 20px 16px;
}
li:nth-child(1) { border-top-color: #794932; top: 6px; left: -14px;
}
li:nth-child(2) { border-top-color: #794932; top: 6px; right: -14px;
}
.eye { background-color: #4F200A; height: 18px; width: 18px; z-index: 3; border-radius: 9px;
}
li:nth-child(3) { left: 4px; top: 30px;
}
li:nth-child(4) { right: 4px; top: 30px;
}
li:nth-child(5) { height: 20px; width: 20px; background-color: #ED5754; border-radius: 0 0 10px 10px; z-index: 5; bottom: 4px; left: 50%; margin-left: -10px;
}
@-webkit-keyframes pugdancing { 0% { left: 5px; top: 0; } 25% { left: 10px; top: 10px; } 50% { left: 15px; top: 0px; } 75% { left: 10px; top: 10px; } 100% { left: 5px; top: 0px; }
}
@keyframes pugdancing { 0% { left: 5px; top: 0; } 25% { left: 10px; top: 10px; } 50% { left: 15px; top: 0px; } 75% { left: 10px; top: 10px; } 100% { left: 5px; top: 0px; }
}
Dancing Pug - Script Codes JS Codes
// Design made by Angela Velasquez, me :D.
// It also was a challenge accepted on the UX Enpterprise Team: PUX
//I took the original idea from https://www.goabstract.com
// July 2017.
Developer | Angela Velasquez |
Username | AngelaVelasquez |
Uploaded | October 30, 2022 |
Rating | 4 |
Size | 3,607 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 |
CSS Fruit Background - Pineapple | 2,574 Kb |
Search animation on CSS | 5,284 Kb |
CSS - Cat on ride | 2,999 Kb |
CSS - Cat in the sky | 2,610 Kb |
CSS Shield | 1,970 Kb |
SVG Line Drawing | 2,768 Kb |
Pure css vertical menu | 2,310 Kb |
My Valentine | 3,353 Kb |
My First JavaScript Exercise | 1,622 Kb |
CSS - Cat with balloon | 2,849 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 |
Count checked checkboxes with jQuery | Mestika | 2,343 Kb |
Importable Clearfix | Corysimmons | 1,411 Kb |
Boom | Mhrjnsa1 | 1,794 Kb |
Portfolio page | Bhavya_j | 2,804 Kb |
Matrix | Stathisnikolaidis | 1,922 Kb |
Multi column experiment. | Spylefkaditis | 2,805 Kb |
STIKHOI | Denmch | 7,122 Kb |
Mega Menu by Joni | Asakasinsky | 3,171 Kb |
Cut and Paste Roll Link | BottomlineInteractive | 2,546 Kb |
Click handler test | Snapson | 2,329 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!