Affinity4 SVG Logo Animation

Developer
Size
2,729 Kb
Views
22,264

How do I make an affinity4 svg logo animation?

Playing around with SVG CSS Animations. It's pretty damned cool!. What is a affinity4 svg logo animation? How do you make a affinity4 svg logo animation? This script and codes were developed by Luke Watts on 14 August 2022, Sunday.

Affinity4 SVG Logo Animation Previews

Affinity4 SVG Logo Animation - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Affinity4 SVG Logo Animation </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="svg-wrapper"> <svg xmlns="http://www.w3.org/2000/svg" height="130.79mm" width="155.93mm" version="1.1" viewBox="0 0 552.49968 463.44252">
<defs> <linearGradient id="gradient-1" x1="20%" y1="30%" x2="40%" y2="80%"> <stop offset="0%" stop-color= "#1cb98f" /> <stop offset="50%" stop-color= "#f99450" /> <stop offset="100%" stop-color= "#876fc3" /> </linearGradient> <linearGradient id="pad" xlink:href="#Gradient-1" spreadMethod="pad" />
</defs> <g transform="translate(-101.6 -264.63)"> <path class="affinity4-path" d="m463.66 723.16h-354.28l216.63-453.56 113.32.2931 207.11 453.27h-106.06l-160.21-340.74-117.34 245.96h157.96z" fill-rule="evenodd" stroke="#e55700" stroke-width="9.8167px" fill="#e55700"/> </g> </svg>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Affinity4 SVG Logo Animation - Script Codes CSS Codes

.svg-wrapper { height: 100vh; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
.svg-wrapper svg path { fill: transparent; stroke: transparent; stroke-dasharray: 2485.67; stroke-dashoffset: 2485.67; -webkit-transition: fill 1500ms ease 750ms, stroke-dashoffset 1500ms ease; transition: fill 1500ms ease 750ms, stroke-dashoffset 1500ms ease;
}
.svg-wrapper.animate svg path { fill: #e55700; stroke: #e55700; stroke-dashoffset: 0;
}

Affinity4 SVG Logo Animation - Script Codes JS Codes

$(document).ready(function() { var path = document.querySelector('.affinity4-path'); var pathLength = path.getTotalLength(); // alert(pathLength); setTimeout(function(){ $('.svg-wrapper').addClass('animate'); }, 2000);
});
Affinity4 SVG Logo Animation - Script Codes
Affinity4 SVG Logo Animation - Script Codes
Home Page Home
Developer Luke Watts
Username lukewatts
Uploaded August 14, 2022
Rating 3
Size 2,729 Kb
Views 22,264
Do you need developer help for Affinity4 SVG Logo Animation?

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!

Luke Watts (lukewatts) Script Codes
Create amazing video scripts 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!