SVG Concentrated Linework

Size
1,806 Kb
Views
20,240

How do I make an svg concentrated linework?

What is a svg concentrated linework? How do you make a svg concentrated linework? This script and codes were developed by Keisuke Takahashi on 19 November 2022, Saturday.

SVG Concentrated Linework Previews

SVG Concentrated Linework - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>SVG Concentrated Linework</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="svgWrap"> <svg viewBox="-100 -100 100 100"> <circle cx="-50" cy="-50" r="100" fill="rgba(0,0,0,0)" stroke="#006" stroke-width="200" stroke-dashoffset="0" stroke-dasharray="5%,3.6%"/> </svg>
</div>
<h1>SVG<br>Concentrated<br> Linework</h1>
</body>
</html>

SVG Concentrated Linework - Script Codes CSS Codes

html,body { margin: 0; padding: 0; overflow: hidden; height:100%; background-color: #003;
}
h1,
.svgWrap { position: absolute; top: 50%; left: 50%; -webkit-transform:translate(-50%,-50%); transform:translate(-50%,-50%);
}
h1 { color: #fff; line-height:1.2; text-align:center; margin:0; font-size:8vw;
}
.svgWrap { width: 100%; height: 0; padding-bottom: 100%; -webkit-transform:translate(-50%,-50%); transform:translate(-50%,-50%);
}
svg { position: absolute; top: 0; left: 0; widows: 100%; height: 100%;
}
circle { -webkit-animation:roll 10s infinite linear alternate; animation:roll 10s infinite linear alternate;
}
@-webkit-keyframes roll { 0% { stroke-dashoffset:0; stroke-width:0; } 50% { stroke-dashoffset:100; stroke-width:200; stroke:#006; } 100% { stroke-dashoffset:0; stroke-width:200; stroke:#f06; }
}
@keyframes roll { 0% { stroke-dashoffset:0; stroke-width:0; } 50% { stroke-dashoffset:100; stroke-width:200; stroke:#006; } 100% { stroke-dashoffset:0; stroke-width:200; stroke:#f06; }
}
SVG Concentrated Linework - Script Codes
SVG Concentrated Linework - Script Codes
Home Page Home
Developer Keisuke Takahashi
Username ksksoft
Uploaded November 19, 2022
Rating 3
Size 1,806 Kb
Views 20,240
Do you need developer help for SVG Concentrated Linework?

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!

Keisuke Takahashi (ksksoft) 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!