The Jealous Buttons
How do I make an the jealous buttons?
I just wanted to make something fun this weekend, Enjoy :D and excuse me for my bad taste in colors o.O. What is a the jealous buttons? How do you make a the jealous buttons? This script and codes were developed by Nour Abusoud on 06 November 2022, Sunday.
The Jealous Buttons - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>The Jealous Buttons</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h3>Hover over one of these jealous links!</h3>
<p>make sure you have your headphones on</p>
<div class="links-container"> <a class="btn btn1" href="http://www.nourabusoud.com" target="_blank"> <div class="arm"> <div class="stick"></div> <div class="hand"></div> <div class="bone"></div> </div> <div class="btn-text">About me</div> </a> <a class="btn btn2" href="https://twitter.com/Nour_ASoud" target="_blank"> <div class="arm"> <div class="stick"></div> <div class="hand"></div> <div class="bone"></div> </div> <div class="btn-text">Twitter</div> </a> <a class="btn btn3" href="https://nl.linkedin.com/in/nourabusoud" target="_blank"> <div class="arm"> <div class="stick"></div> <div class="hand"></div> <div class="bone"></div> </div> <div class="btn-text">Linkedin</div> </a>
</div>
<audio controls preload="auto" id="sound-woohoo"> <source src="https://www.nourabusoud.com/audio/wooho.mp3" controls></source> <source src="https://www.nourabusoud.com/audio/wooho.ogg" controls></source>
</audio>
<audio loop controls preload="auto" id="sound-me"> <source src="https://www.nourabusoud.com/audio/me-me-me.mp3" controls></source> <source src="https://www.nourabusoud.com/audio/me-me-me.ogg" controls></source>
</audio> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
The Jealous Buttons - Script Codes CSS Codes
body { font-family: helvetica; font-size: 16px; color: #666; text-align: center; background: #fafafa;
}
h3 { margin-top: 30px;
}
.links-container { width: 400px; margin: 110px auto 0; text-align: center;
}
.btn { display: inline-block; position: relative; text-decoration: none; margin: 0 15px;
}
.btn-text { display: block; line-height: 20px; padding: 10px 20px; background-color: navy; color: white; text-align: center; z-index: 2; border-radius: 5px;
}
.btn1 .btn-text, .btn1 .bone { background-color: #ff3c41;
}
.btn1.pick-me .arm { animation-delay: 0.2s;
}
.btn1 .bone:before { display: none;
}
.btn2 .btn-text, .btn2 .bone { background-color: #0ebeff;
}
.btn2 .btn-text.pick-me .arm, .btn2 .bone.pick-me .arm { animation-delay: 0.1s;
}
.btn2 .bone:before { display: none;
}
.btn3 .btn-text, .btn3 .bone { background-color: #47cf73;
}
.btn3 .btn-text.pick-me .arm, .btn3 .bone.pick-me .arm { animation-delay: 0.3s;
}
.pick-me .arm { display: block; animation: wave 0.5s alternate infinite;
}
.arm { position: absolute; top: -28px; left: 40px; visibility: hidden; z-index: -1;
}
.bone { width: 22px; height: 45px; border-radius: 3px 3px 0 0;
}
.bone:before { content: "."; position: absolute; text-align: left; color: #a0a0a0; width: 22px; font-weight: bold; padding: 4px 2px; line-height: 5px; top: 0px; left: 0; background-color: rgba(250, 250, 245, 0.98); border: 1px solid #cfcfcf; box-sizing: border-box;
}
.hand { position: absolute; width: 21px; height: 25px; top: -24px; left: 1px; background-color: #ffe0bd; border: 1px solid #E2B783; border-radius: 10px 10px 5px 14px; transform: rotate(35deg); z-index: -2;
}
.hand:after, .hand:before { content: ""; border: 1px solid #E2B783; position: absolute; background-color: #ffe0bd; border-bottom: 0; border-radius: 5px 5px 0 0; height: 10px; width: 4px; top: -1px;
}
.hand:before { left: 2px;
}
.hand:after { left: 12px;
}
.stick { width: 10px; height: 30px; top: -30px; left: 5px; background: #3F3F3F; position: absolute; z-index: -3; transform: rotate(-50deg);
}
.stick:after { content: "ME!"; color: white; text-align: center; padding: 5px 8px; position: absolute; top: -30px; left: 0; height: 20px; color: #fff; border-radius: 2px 2px px 0; background: #686868;
}
.yeay:before { content: "Woohoo!"; position: absolute; top: -14px; left: 15px; animation: wohoo 1s infinite ease-in-out; visibility: hidden; background: -webkit-linear-gradient(-180deg, red, blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes wave { 0% { visibility: hidden; transform: rotate(-20deg); top: -26px; } 100% { visibility: visible; transform: rotate(20deg); }
}
@keyframes wohoo { 0% { visibility: hidden; } 25% { visibility: visible; transform: scale(1.4); top: -60px; } 75% { visibility: visible; transform: scale(1.8); top: -60px; } 100% { visibility: hidden; top: -70px; opacity: 0; }
}
audio { display: none;
}
The Jealous Buttons - Script Codes JS Codes
$(".btn" ).mouseover(function() { $("#sound-woohoo")[0].play(); $("#sound-me")[0].play(); $(this).addClass("yeay"); $(this).siblings().addClass("pick-me"); $(this).siblings().children( ".hand" ).css( "display", "block" );
});
$(".btn" ).mouseout(function() { $("#sound-woohoo")[0].pause(); $("#sound-me")[0].pause(); $(this).removeClass("yeay"); $(".btn").removeClass("pick-me");
});
Developer | Nour Abusoud |
Username | nourabusoud |
Uploaded | November 06, 2022 |
Rating | 4.5 |
Size | 4,289 Kb |
Views | 12,144 |
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 |
Thanks giving turkey | 2,838 Kb |
Macaroons | 2,690 Kb |
CSS Only Dragonfly | 3,117 Kb |
Simple CSS Snowflake | 1,667 Kb |
CSS only dynamic 2 slices pie charts | 5,319 Kb |
Simple Candy Cane | 1,772 Kb |
CSS Only Carousel | 2,820 Kb |
CSS Girl | 3,449 Kb |
CSS Bar Chart | 7,386 Kb |
Menu - pop out icons | 3,064 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 |
Faces SVG animation | ScavengerFrontend | 2,957 Kb |
Sinclair Research Computers | MattCowley | 3,068 Kb |
Firefox Breakout Guide | Quincysoeliman | 2,576 Kb |
The Fantastic Mr Fox | MalZiiirA | 10,435 Kb |
Expert Help | SinceSidSlid | 4,064 Kb |
Css Rotating 3d cubes different speed | Dghez | 2,364 Kb |
Web Spiral - p5.js | TWAIN | 2,183 Kb |
Canvas stripes | Adrianparr | 1,948 Kb |
Hovers with popups | Zacharyolson | 2,380 Kb |
CSS3 iPad | Vikvarg | 1,766 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!