Vue.js Logo Animated

Developer
Size
3,568 Kb
Views
34,408

How do I make an vue.js logo animated?

SVG Vue.js CSS Animation. What is a vue.js logo animated? How do you make a vue.js logo animated? This script and codes were developed by João Victor on 06 November 2022, Sunday.

Vue.js Logo Animated Previews

Vue.js Logo Animated - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Vue.js Logo Animated</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="w"> <svg width="82px" height="70px" viewBox="-4 1 82 70" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g id="vue" stroke="none" fill="none" transform="translate(-3.000000, 2.000000)"> <path d="M15,0 L31,0 C31,0 33.7431643,4.8767365 35.1147464,7.31510474 L40,16 L50,0 L65,0 L40,42 L15,0 Z" id="inner"> </path> <path d="M0,0 L40,68 L80,0 L65,0 C65,0 50.2018448,24.8609007 42.8027673,37.291351 C41.8685115,38.8609007 40,42 40,42 L15,0 L0,0 Z" id="outer"> </path> </g> </svg>	<p>Vue.js</p>
</div> <script src="js/index.js"></script>
</body>
</html>

Vue.js Logo Animated - Script Codes CSS Codes

@font-face { font-family: 'Dosis'; font-style: normal; font-weight: 400; src: local("Dosis Regular"), local("Dosis-Regular"), url(https://fonts.gstatic.com/s/dosis/v6/oaBFj7Fz9Y9_eW3k9Jd9X6CWcynf_cDxXwCLxiixG1c.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
.w { position: absolute; left: 0; right: 0; top: 0; bottom: 0; margin: auto; width: 220px; height: 220px;
}
p { text-align: center; font-family: 'Dosis'; -webkit-transform: translateY(50px); transform: translateY(50px); font-size: 35px; font-weight: 100; color: #2c3e50; opacity: 0; -webkit-animation: text .5s 2s ease forwards; animation: text .5s 2s ease forwards;
}
svg { width: 100%; height: auto;
}
#outer, #inner { stroke-width: .5; stroke: #2FB982;
}
#outer { stroke-dasharray: 285.5394592285156 285.5394592285156; stroke-dashoffset: 285.5394592285156; -webkit-animation: outer 2s 1s ease forwards; animation: outer 2s 1s ease forwards;
}
#inner { stroke-dasharray: 165.98031616210938 165.98031616210938; stroke-dashoffset: 165.98031616210938; -webkit-animation: inner 2s 1s ease forwards; animation: inner 2s 1s ease forwards;
}
@-webkit-keyframes outer { 50% { stroke-dashoffset: 0; stroke-width: .5; fill: #fff; } 75%, 100% { stroke-dashoffset: 0; fill: #2FB982; stroke-width: 0; }
}
@keyframes outer { 50% { stroke-dashoffset: 0; stroke-width: .5; fill: #fff; } 75%, 100% { stroke-dashoffset: 0; fill: #2FB982; stroke-width: 0; }
}
@-webkit-keyframes inner { 50% { stroke-dashoffset: 0; stroke-width: .5; fill: #fff; } 75%, 100% { stroke-dashoffset: 0; fill: #34475F; stroke-width: 0; }
}
@keyframes inner { 50% { stroke-dashoffset: 0; stroke-width: .5; fill: #fff; } 75%, 100% { stroke-dashoffset: 0; fill: #34475F; stroke-width: 0; }
}
@-webkit-keyframes text { to { -webkit-transform: translateY(-10px); transform: translateY(-10px); opacity: 1; }
}
@keyframes text { to { -webkit-transform: translateY(-10px); transform: translateY(-10px); opacity: 1; }
}

Vue.js Logo Animated - Script Codes JS Codes

'use strict';
document.getElementById('outer').getTotalLength(); // 285.5394592285156
document.getElementById('inner').getTotalLength(); // 165.98031616210938
Vue.js Logo Animated - Script Codes
Vue.js Logo Animated - Script Codes
Home Page Home
Developer João Victor
Username jotavejv
Uploaded November 06, 2022
Rating 4
Size 3,568 Kb
Views 34,408
Do you need developer help for Vue.js Logo Animated?

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!

João Victor (jotavejv) Script Codes
Create amazing blog posts 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!