SVG as a submit button
How do I make an svg as a submit button?
What is a svg as a submit button? How do you make a svg as a submit button? This script and codes were developed by Revolution Graphics on 01 October 2022, Saturday.
SVG as a submit button - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>SVG as a submit button</title> <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> <form action="/search/" class="hide-submit" method="GET" > <input name="q" type="text" /> <label> <input type="submit" /> <svg id="search-icon" class="search-icon" viewBox="0 0 24 24">
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z">
<path fill="none" d="M0 0h24v24H0z"> </svg> </label>
</form> <script src="js/index.js"></script>
</body>
</html>
SVG as a submit button - Script Codes CSS Codes
form.hide-submit input[type="submit"] { display: none;
}
#search-icon { fill: #000; height: 40px; width: 40px;
}
SVG as a submit button - Script Codes JS Codes
//https://chodounsky.net/2015/05/12/svg-as-a-submit-button/
Developer | Revolution Graphics |
Username | rgfx |
Uploaded | October 01, 2022 |
Rating | 3 |
Size | 2,128 Kb |
Views | 26,312 |
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 |
Canvas Noise generator | 2,904 Kb |
Custom Checkbox and radio inputs SCSS | 3,367 Kb |
Icon-font animation troggle | 2,108 Kb |
Video-js scss | 13,211 Kb |
Fancy Select Box | 5,516 Kb |
Cross browser radio buttons | 2,474 Kb |
Simple Horizontal Stacked Bar | 2,000 Kb |
Toggle css on scroll position | 1,718 Kb |
Custom Select Box 2 | 5,033 Kb |
SVG Background Repeat - Works IN IE | 2,957 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 |
Formations | Cantelope | 5,731 Kb |
Codero Sitemap | S1m0ne | 28,169 Kb |
Hover Animation from UNIQLO | Insprd | 3,772 Kb |
React Template | Isac | 1,241 Kb |
Testing Code Pen | Jduprey | 1,468 Kb |
A Pen by Mike Otis | Mikeotis | 3,185 Kb |
Flex layout example | Mofny | 1,663 Kb |
Awesome textarea | Ayoungh | 1,977 Kb |
404 Error Page | WebSonick | 3,203 Kb |
Expandable Left Side Bar with jQuery animate | Retrofuturistic | 2,483 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!