SVG Playground

Developer
Size
1,834 Kb
Views
18,216

How do I make an svg playground?

What is a svg playground? How do you make a svg playground? This script and codes were developed by Roy on 15 November 2022, Tuesday.

SVG Playground Previews

SVG Playground - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>SVG Playground</title> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<svg viewBox="0 0 200 200"> <defs> <linearGradient id="alphaGreyGrad" x1="0%" y1="100%" x2="0%" y2="40%" spreadMethod="reflect"> <stop offset="0%" stop-color="#777777" stop-opacity="1"/> <stop offset="100%" stop-color="#FFFFFF" stop-opacity="1"/> </linearGradient> <linearGradient id="blackWhiteGrad" x1="0%" y1="0%" x2="0%" y2="100%" spreadMethod="reflect"> <stop offset="0%" stop-color="#000000" stop-opacity="1"/> <stop offset="100%" stop-color="#FFFFFF" stop-opacity="1"/> </linearGradient> <radialGradient id="whiteAlpha" cx="50%" cy="10%" r="45%" spreadMethod="pad"> <stop offset="0%" stop-color="#FFFFFF" stop-opacity="0.75"/> <stop offset="100%" stop-color="#FFFFFF" stop-opacity="0" /> </radialGradient> <radialGradient id="greenGrad" cx="50%" cy="40%" r="45%" spreadMethod="pad"> <stop offset="0%" stop-color="#00FF00" stop-opacity="1"/> <stop offset="100%" stop-color="#005000" stop-opacity="1" /> </radialGradient> <radialGradient id="redGrad" cx="50%" cy="40%" r="45%" spreadMethod="pad"> <stop offset="0%" stop-color="#FF0000" stop-opacity="1"/> <stop offset="100%" stop-color="#700000" stop-opacity="1" /> </radialGradient> <radialGradient id="yellowGrad" cx="50%" cy="40%" r="45%" spreadMethod="pad"> <stop offset="0%" stop-color="#FFFF00" stop-opacity="1"/> <stop offset="100%" stop-color="#808000" stop-opacity="1" /> </radialGradient> </defs> <g transform="translate(100,100)"> <circle id="c1" x="0" y="0" r="85" /> <circle id="c2" x="0" y="0" r="76" /> <circle id="c3" x="0" y="0" r="74.5" /> </g>
</svg> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

SVG Playground - Script Codes CSS Codes

svg { height: 32px;
}
#c1{ stroke-width: 20; stroke:url(#alphaGreyGrad); fill:url(#yellowGrad);
}
#c2 { stroke-width: 2; stroke:url(#blackWhiteGrad); fill:rgba(0,0,0,0);
}
#c3 { fill:url(#whiteAlpha);
}
SVG Playground - Script Codes
SVG Playground - Script Codes
Home Page Home
Developer Roy
Username roygwells
Uploaded November 15, 2022
Rating 3
Size 1,834 Kb
Views 18,216
Do you need developer help for SVG Playground?

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!

Roy (roygwells) Script Codes
Create amazing captions 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!