SVG Playground
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 - 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);
}
Developer | Roy |
Username | roygwells |
Uploaded | November 15, 2022 |
Rating | 3 |
Size | 1,834 Kb |
Views | 18,216 |
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!
Name | Size |
Sample Data | 3,394 Kb |
Close ICon | 1,568 Kb |
Modular Guage | 5,852 Kb |
Gradients | 1,713 Kb |
Guage | 5,653 Kb |
A Pen by Roy | 2,048 Kb |
SVG Path Experiments | 1,864 Kb |
Accordion Dropdown | 2,738 Kb |
A Pen by Roy | 4,921 Kb |
Scoping Test | 1,862 Kb |
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!
Name | Username | Size |
Click handler test | Snapson | 2,329 Kb |
Pattern lab logo | TimPietrusky | 3,666 Kb |
3d css cube | Semenchenko | 4,578 Kb |
Toolbar | Onsen | 5,414 Kb |
Two Element Typeface | Chrisota | 4,942 Kb |
Scrolling Horizontal Isotope | Bramus | 2,017 Kb |
Canvas Background Effect | Sonick | 3,513 Kb |
Revolving Text Landing Page Trial | TimRuby | 2,976 Kb |
Basic 3D Fullscreen Transition | Apetrov | 3,270 Kb |
Loader | MikitaLisavets | 3,321 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!