SVG Cheat-Sheet
How do I make an svg cheat-sheet?
What is a svg cheat-sheet? How do you make a svg cheat-sheet? This script and codes were developed by Daniel Gooß on 10 November 2022, Thursday.
SVG Cheat-Sheet - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>SVG Cheat-Sheet</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ svg * { fill: currentColor;
}
.hide { display: none;
}
a { color: #ffa200;
}
a span,
a svg { vertical-align: middle;
}
a:hover { color: tomato;
}
.icons { list-style: none;
}
.icons li { display: inline-block;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <svg xmlns="http://www.w3.org/2000/svg" class="hide"> <defs> <symbol id="icon-check" viewBox=""> <path d="M7.9,1L2.5,6L0,3.2l1-0.9L2.6,4l4.3-4L7.9,1z"></path> </symbol> <symbol id="icon-arrow-circle" viewBox="0 0 8 9"> <path d="M4,0C1.8,0,0,1.8,0,4c0,2.2,1.8,4,4,4s4-1.8,4-4C8,1.8,6.2,0,4,0z M4,6.2L1.9,3h4.2L4,6.2z"></path> </symbol> <symbol id="icon-arrow" viewBox="0 0 8 13"> <path d="M1.1,12.8L0,11.6l5.3-5.3L0,1.1L1.1,0l6.4,6.4L1.1,12.8z"></path> </symbol> <symbol id="icon-loupe" viewBox="0 0 21 22" preserveAspectRatio="xMidYMid meet"> <path d="M20,18.5L18.5,20l-4.9-4.9l1.5-1.5L20,18.5z M8,15.9c-4.4,0-8-3.6-8-8c0-4.4,3.6-8,8-8c4.4,0,8,3.6,8,8 C15.9,12.4,12.4,15.9,8,15.9z M14.9,8c0-3.8-3.1-6.9-6.9-6.9C4.2,1.1,1.1,4.2,1.1,8c0,3.8,3.1,6.9,6.9,6.9 C11.8,14.9,14.9,11.8,14.9,8z M11.7,7.4H8.5V4.2C8.5,4,8.3,3.7,8,3.7C7.7,3.7,7.4,4,7.4,4.2v3.2H4.2C4,7.4,3.7,7.7,3.7,8 c0,0.3,0.2,0.5,0.5,0.5h3.2v3.2c0,0.3,0.2,0.5,0.5,0.5c0.3,0,0.5-0.2,0.5-0.5V8.5h3.2c0.3,0,0.5-0.2,0.5-0.5 C12.2,7.7,12,7.4,11.7,7.4z"></path> </symbol> <symbol id="icon-cart" viewBox="0 0 20 21" preserveAspectRatio="xMidYMid meet"> <path d="M15,8V5c0-1.3-0.5-2.6-1.5-3.5c-2-2-5.1-2-7.1,0C5.5,2.4,5,3.7,5,5v3H0l3.5,12h13L20,8H15z M13.5,8h-7V5 c0-0.9,0.3-1.8,1-2.5c1.4-1.4,3.6-1.4,4.9,0c0.7,0.7,1,1.6,1,2.5V8z"></path> </symbol> <symbol id="icon-profile" viewBox="0 0 18 21" preserveAspectRatio="xMidYMid meet"> <path d="M5.8,7.7c-1.8-1.8-1.8-4.6,0-6.4c1.8-1.8,4.6-1.8,6.4,0c1.8,1.8,1.8,4.6,0,6.4C10.4,9.4,7.6,9.4,5.8,7.7z M14,11.5h-1l-4,4l-4-4H4c-2.2,0-4,1.6-4,3.5v5h18v-5C18,13.1,16.2,11.5,14,11.5z"></path> </symbol> <symbol id="icon-search" viewBox="0 0 21 22" preserveAspectRatio="xMidYMid meet"> <path d="M20,18.6l-6.7-6.7c2.2-2.9,2-7.1-0.7-9.7c-2.9-2.9-7.6-2.9-10.5,0c-2.9,2.9-2.9,7.6,0,10.5 c2.5,2.5,6.5,2.9,9.4,0.9l6.7,6.7L20,18.6z M3.9,10.9C2,9,2,5.8,3.9,3.9C5.8,2,9,2,10.9,3.9c1.9,1.9,1.9,5.1,0,7 C9,12.8,5.8,12.8,3.9,10.9z"></path> </symbol> <symbol id="icon-menu" viewBox="0 0 20 19" preserveAspectRatio="xMidYMid meet"> <path d="M20,0v3H0V0H20z M0,11h20V8H0V11z M0,19h20v-3H0V19z"></path> </symbol> <symbol id="icon-multi-column" viewBox="0 0 15 20" preserveAspectRatio="xMidYMid meet"> <path d="M7,0v9.5H0V0H7z M8,0v9.5h7V0H8z M0,10.5 V20h7v-9.5H0z M8,10.5V20h7v-9.5H8z"></path> </symbol> <symbol id="icon-single-column" viewBox="0 0 15 20" preserveAspectRatio="xMidYMid meet"> <rect width="15" height="20"></rect> </symbol> <symbol id="icon-close" viewBox="0 0 20 20" preserveAspectRatio="xMidYMid meet"> <polygon points="20,1.3 18.7,0 10,8.7 1.3,0 0,1.3 8.7,10 0,18.7 1.3,20 10,11.3 18.7,20 20,18.7 11.3,10 "></polygon> </symbol> </defs>
</svg>
<ul class="icons"> <li> <svg width="20" height="19"> <use xlink:href="#icon-menu"></use> </svg> </li> <li> <svg width="21" height="22"> <use xlink:href="#icon-search"></use> </svg> </li> <li> <svg width="18" height="21"> <use xlink:href="#icon-profile"></use> </svg> </li>
</ul>
<a href="">Weiter <svg width="8" height="13"> <use xlink:href="#icon-arrow"></use> </svg>
</a>
</body>
</html>
SVG Cheat-Sheet - Script Codes CSS Codes
svg * { fill: currentColor;
}
.hide { display: none;
}
a { color: #ffa200;
}
a span,
a svg { vertical-align: middle;
}
a:hover { color: tomato;
}
.icons { list-style: none;
}
.icons li { display: inline-block;
}
Developer | Daniel Gooß |
Username | daniel_gooss |
Uploaded | November 10, 2022 |
Rating | 3 |
Size | 3,107 Kb |
Views | 28,336 |
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 |
Revolver Slideshow with Touch | 7,609 Kb |
WebGL Container | 2,300 Kb |
Web Component Switches | 4,335 Kb |
IPhone Ui - Content only | 6,499 Kb |
CSS Paperfold Effect | 3,473 Kb |
Patternplate logo animation | 4,795 Kb |
Revolver Slideshow | 5,445 Kb |
Blog Concept | 7,663 Kb |
IPhone Ui | 8,602 Kb |
Dashboard | 25,043 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 |
Product item | Mymahesh11 | 2,256 Kb |
Header Line Issue | Charlie-volpe | 1,768 Kb |
Midterm dry run | Jds317 | 1,649 Kb |
JQuery FullScreen Overlay | _codemics | 2,252 Kb |
A Pen by Moeid Saleem | Moeidsaleem | 1,862 Kb |
Shopping List | Markmurray | 6,015 Kb |
Button Option Group | Honchoman | 1,859 Kb |
Preloader | Rikki_Sixx | 2,815 Kb |
Hello People | Danburrows | 2,365 Kb |
Canvas snow | Win7killer | 2,572 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!