Animated Hillary Clinton Donald Trump Logos SVG
How do I make an animated hillary clinton donald trump logos svg?
What is a animated hillary clinton donald trump logos svg? How do you make a animated hillary clinton donald trump logos svg? This script and codes were developed by Ali Klein on 11 July 2022, Monday.
Animated Hillary Clinton Donald Trump Logos SVG - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Animated Hillary Clinton Donald Trump Logos SVG</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <button class="hillary">Animate</button> <button class="trump">Animate</button>
</div>
<div class="container"> <svg id="hc" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 450"> <g id="h"> <path d="M10.8 19h137v411.5h-137zM284.2 19h137v411.5h-137z"/> <path d="M10.8 156.2h410.5v137H10.8z"/> </g> <path id="arrow" d="M489.1 224.6L284.2 430.5V293.2l-273.3-.1v-137l273.3.1V19z"/> </svg> <svg id="dt" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 275"> <g id="stripes"> <path d="M275 13h216v37H275zM275"/> <path d="M275 84h216v37H275zM275"/> <path d="M275 155h216v37H275zM197.5"/> <path d="M197.5 226H491v37H197.5z"/> </g> <g id="p"> <path class="blue" d="M207 84.5h-31.9V126h12c10.2 0 14.7 0 14.7 18.6s-14.7 14.7-14.7 14.7H56.3V126H78V84.5H9V262h47.3v-60.5H207c38.1 0 38.2-41.9 38.2-42.2V126c0-37.2-38.2-41.5-38.2-41.5z"/> </g> <g id="t"> <path class="blue" d="M244 12v49h-90.3v201H99.3V61H9V12z"/> </g> <g id="space"> <path class="white" d="M78 84h21.3v42H78zM153.8 84h21.3v42h-21.3z"/> <path class="white" d="M56.3 201.5H190V222H56.3zM56.3 140.7H190v19H56.3z"/> </g> </svg>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Animated Hillary Clinton Donald Trump Logos SVG - Script Codes CSS Codes
.container { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; margin-top: 5vw;
}
.container button { background-color: #00529F; color: white; text-transform: uppercase; font-family: monospace; display: block; margin: 20px auto; min-width: 120px; border: none; padding: 0 1em; font-size: 14px; line-height: 40px; text-align: center; outline: none; cursor: pointer;
}
.container button:nth-of-type(2) { background-color: #C8202E;
}
.container svg { width: 40vw; height: 20vw; overflow: visible;
}
.container svg#hc #h { fill: #00529F; -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%;
}
.container svg#hc #h.animate { -webkit-animation: aych 3s infinite cubic-bezier(0.87, 0, 0.19, 1); animation: aych 3s infinite cubic-bezier(0.87, 0, 0.19, 1);
}
.container svg#hc #arrow { fill: #E31E2D;
}
.container svg#hc #arrow.animate { -webkit-animation: arrow 3s infinite cubic-bezier(0.87, 0, 0.19, 1); animation: arrow 3s infinite cubic-bezier(0.87, 0, 0.19, 1);
}
.container svg#dt #t .blue,
.container svg#dt #p .blue { fill: #292C69;
}
.container svg#dt #space .white { fill: #fff;
}
.container svg#dt #t.animate { -webkit-animation: tee .75s infinite ease-in-out; animation: tee .75s infinite ease-in-out;
}
.container svg#dt #stripes { fill: #C8202E;
}
.container svg#dt #stripes path.animate { -webkit-animation: stripes .5s infinite; animation: stripes .5s infinite;
}
.container svg#dt #stripes path:nth-child(1) { -webkit-animation-delay: 0.1s; animation-delay: 0.1s;
}
.container svg#dt #stripes path:nth-child(2) { -webkit-animation-delay: 0.2s; animation-delay: 0.2s;
}
.container svg#dt #stripes path:nth-child(3) { -webkit-animation-delay: 0.3s; animation-delay: 0.3s;
}
@-webkit-keyframes arrow { 0% { -webkit-transform: rotate(0deg) translateX(0) rotate(0deg) scale(1); transform: rotate(0deg) translateX(0) rotate(0deg) scale(1); } 25% { -webkit-transform: rotate(0deg) translateX(-5vw) rotate(0deg) scale(0.5); transform: rotate(0deg) translateX(-5vw) rotate(0deg) scale(0.5); } 75% { -webkit-transform: rotate(-360deg) translateX(-5vw) rotate(-360deg) scale(0.5); transform: rotate(-360deg) translateX(-5vw) rotate(-360deg) scale(0.5); } 100% { -webkit-transform: rotate(-360deg) translateX(0) rotate(-360deg) scale(1); transform: rotate(-360deg) translateX(0) rotate(-360deg) scale(1); }
}
@keyframes arrow { 0% { -webkit-transform: rotate(0deg) translateX(0) rotate(0deg) scale(1); transform: rotate(0deg) translateX(0) rotate(0deg) scale(1); } 25% { -webkit-transform: rotate(0deg) translateX(-5vw) rotate(0deg) scale(0.5); transform: rotate(0deg) translateX(-5vw) rotate(0deg) scale(0.5); } 75% { -webkit-transform: rotate(-360deg) translateX(-5vw) rotate(-360deg) scale(0.5); transform: rotate(-360deg) translateX(-5vw) rotate(-360deg) scale(0.5); } 100% { -webkit-transform: rotate(-360deg) translateX(0) rotate(-360deg) scale(1); transform: rotate(-360deg) translateX(0) rotate(-360deg) scale(1); }
}
@-webkit-keyframes aych { 0% { -webkit-transform: scale(1); transform: scale(1); } 25% { -webkit-transform: scale(1.5); transform: scale(1.5); } 75% { -webkit-transform: scale(1.5); transform: scale(1.5); } 100% { -webkit-transform: translateY(1); transform: translateY(1); }
}
@keyframes aych { 0% { -webkit-transform: scale(1); transform: scale(1); } 25% { -webkit-transform: scale(1.5); transform: scale(1.5); } 75% { -webkit-transform: scale(1.5); transform: scale(1.5); } 100% { -webkit-transform: translateY(1); transform: translateY(1); }
}
@-webkit-keyframes tee { 0% { -webkit-transform: translateY(0); transform: translateY(0); } 50% { -webkit-transform: translateY(-10vw); transform: translateY(-10vw); } 100% { -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes tee { 0% { -webkit-transform: translateY(0); transform: translateY(0); } 50% { -webkit-transform: translateY(-10vw); transform: translateY(-10vw); } 100% { -webkit-transform: translateY(0); transform: translateY(0); }
}
@-webkit-keyframes stripes { 0% { -webkit-transform: translateX(0); transform: translateX(0); } 50% { -webkit-transform: translateX(10vw); transform: translateX(10vw); } 100% { -webkit-transform: translateX(0); transform: translateX(0); }
}
@keyframes stripes { 0% { -webkit-transform: translateX(0); transform: translateX(0); } 50% { -webkit-transform: translateX(10vw); transform: translateX(10vw); } 100% { -webkit-transform: translateX(0); transform: translateX(0); }
}
Animated Hillary Clinton Donald Trump Logos SVG - Script Codes JS Codes
/*
╭╮╱╱╭┳━━━┳━━━━┳━━━╮╭╮
┃╰╮╭╯┃╭━╮┃╭╮╭╮┃╭━━╯┃┃
╰╮┃┃╭┫┃╱┃┣╯┃┃╰┫╰━━╮┃┃
╱┃╰╯┃┃┃╱┃┃╱┃┃╱┃╭━━╯╰╯
╱╰╮╭╯┃╰━╯┃╱┃┃╱┃╰━━╮╭╮
╱╱╰╯╱╰━━━╯╱╰╯╱╰━━━╯╰╯
╱╱╱╭╮
╱╱╱┃┃
╭━━┫┃╭━━┳━━┳━━┳━━╮
┃╭╮┃┃┃┃━┫╭╮┃━━┫┃━┫
┃╰╯┃╰┫┃━┫╭╮┣━━┃┃━┫╭╮
┃╭━┻━┻━━┻╯╰┻━━┻━━╯╰╯
┃┃
╰╯ */
function animate(button, el) { button.click(function() { el.toggleClass('animate'); });
}
function text(button) { button.click(function() { var text = $(this).text(); $(this).text( text == 'Animate' ? 'Please Stop' : 'Animate'); });
}
animate($('.hillary'), $('#arrow, #h'));
animate($('.trump'), $('#t, #stripes path'));
text($('.hillary, .trump'));
Developer | Ali Klein |
Username | AliKlein |
Uploaded | July 11, 2022 |
Rating | 3 |
Size | 4,004 Kb |
Views | 46,552 |
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 |
SVG Path Animation | 9,660 Kb |
Know Your Candidates. Responsive Table with Viewport Widths. | 6,288 Kb |
Mobile Nav Menu | 4,745 Kb |
VW Logo | 2,212 Kb |
David Bowie SVG Morph | 11,407 Kb |
Greensock Animated Donut Chart | 3,030 Kb |
Three.js cube | 1,997 Kb |
Wobbly Button Snap SVG Morph | 3,130 Kb |
Youtube API Multiple Videos | 2,326 Kb |
Momentum Scrolling | 2,614 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 |
Cloudy Spiral CSS animation | Hakimel | 6,587 Kb |
Portfolio page | Bhavya_j | 2,804 Kb |
Apple website | Jds317 | 1,835 Kb |
Perspective Origin Demo | Agelber | 3,614 Kb |
Mega Menu by Joni | Asakasinsky | 3,171 Kb |
Draggables in pure angular | Rlo206 | 5,167 Kb |
Mesmerizing octopus | Jllodra | 3,549 Kb |
Animated SVG stroke-dasharray | Netsi1964 | 3,179 Kb |
Price table | Serluk | 5,928 Kb |
DNA Double Helix | Hugo | 5,112 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!