SVG by Hand - Experiment

Developer
Size
2,330 Kb
Views
20,240

How do I make an svg by hand - experiment?

Playing around with making SVG by hand. These articles have been very helpful:https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths. What is a svg by hand - experiment? How do you make a svg by hand - experiment? This script and codes were developed by Tim D on 13 November 2022, Sunday.

SVG by Hand - Experiment Previews

SVG by Hand - Experiment - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>SVG by Hand - Experiment</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <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> <svg width="0" height="0" style="position:absolute"> <symbol id="repeated-shape" viewBox="0 0 660 500"> <path d="M0 100 L165 0 L330 80 L495 0 L660 100 V500 H0 Z" stroke-width="0" /> </symbol>
</svg>
<div class="landscape"> <svg class="landscape__shape-1" width="660px" height="500px"> <use xlink:href="#repeated-shape"></use> </svg> <svg class="landscape__shape-2" width="660px" height="500px"> <use xlink:href="#repeated-shape"></use> </svg> <svg class="landscape__shape-3" width="660px" height="500px"> <use xlink:href="#repeated-shape"></use> </svg> <svg class="landscape__shape-4" width="660px" height="500px"> <use xlink:href="#repeated-shape"></use> </svg> <svg class="landscape__shape-5" width="660px" height="500px"> <use xlink:href="#repeated-shape"></use> </svg>
</div>
</body>
</html>

SVG by Hand - Experiment - Script Codes CSS Codes

body { background-color: #efefef;
}
.landscape { position: relative; width: 100vw; height: 100vh; background-color: lightblue; overflow: hidden;
}
svg[class^="landscape__shape-"] { display: block; position: absolute; left: 0; width: 100%; height: auto;
}
.landscape__shape-1 { top: 10%; fill: lightseagreen;
}
.landscape__shape-2 { top: 25%; fill: #1b9891;
}
.landscape__shape-3 { top: 40%; fill: #198b85;
}
.landscape__shape-4 { top: 55%; fill: #177e78;
}
.landscape__shape-5 { top: 70%; fill: #14716c;
}
SVG by Hand - Experiment - Script Codes
SVG by Hand - Experiment - Script Codes
Home Page Home
Developer Tim D
Username tjdunklee
Uploaded November 13, 2022
Rating 3
Size 2,330 Kb
Views 20,240
Do you need developer help for SVG by Hand - Experiment?

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!

Tim D (tjdunklee) Script Codes
Create amazing Facebook ads 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!