CSS Search Button
How do I make an css search button?
Recreated the search button on www.blacks.ca using pure CSS3. Vector based and resizable!. What is a css search button? How do you make a css search button? This script and codes were developed by Douglas Glover on 17 October 2022, Monday.
CSS Search Button - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Search Button</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="circle search-background"> <div class="circle magnifying-glass-rim"> <div class="circle magnifying-glass-glass"> </div> </div> <div class="magnifying-glass-handle"></div>
</div>
</body>
</html>
CSS Search Button - Script Codes CSS Codes
.circle{ height: 0; width: 0; -moz-border-radius: 100px; -webkit-border-radius: 100px; border-radius: 100px; position: relative;
}
/* Change the width and height (equally) to change the size! */
.search-background{ cursor: pointer; background: #df1a00; width: 36px; height: 36px;
}
.magnifying-glass-rim{ background: #fff; width: 50%; height: 50%; top: 20%; left: 22%;
}
.magnifying-glass-glass{ background: #df1a00; width: 70%; height: 70%; top: 15%; left: 15%;
}
.magnifying-glass-handle{ background: #fff; height: 10%; width: 20%; left:60%; top:10%; border-top-right-radius: 2px; border-bottom-right-radius: 2px; position: relative; transform: rotate(45deg); -ms-transform: rotate(45deg); -webkit-transform: rotate(45deg)
}
Developer | Douglas Glover |
Username | DouglasGlover |
Uploaded | October 17, 2022 |
Rating | 3 |
Size | 1,756 Kb |
Views | 12,144 |
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 |
Dragonball Dragon Radar | 2,157 Kb |
CSS Hover Image Effect - Transition | 1,658 Kb |
Soul Sacrifice Enemy Weaknesses | 3,235 Kb |
Pulsating Orb | 1,556 Kb |
Random Animation | 2,026 Kb |
Triangle Banner | 1,779 Kb |
VROptimal 360 Video Demo | 1,559 Kb |
Relative Position SVG Clip-path | 2,526 Kb |
Loading Dots CSS3 Animation | 1,671 Kb |
Photo Grid with Hover | 2,667 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 |
Pure CSS albums gallery | Renaudtertrais | 2,978 Kb |
CSS3 Form | Tusharbandal | 1,836 Kb |
Animate elements with fixed gradient | Badabam | 4,406 Kb |
CSS- UI Element States Pseudo-Classes | Tesla809 | 2,206 Kb |
NT Tribute | Skybutterfly | 2,850 Kb |
BenU Maintenance Site | Ksherman | 4,893 Kb |
Dragonball Dragon Radar | DouglasGlover | 2,157 Kb |
Login with flip 3d animation | Mariusbalaj | 3,014 Kb |
My Interests | Anshusaxenaarora | 2,015 Kb |
Michelle, submit your photography to Unsplash. | Zaneriley | 3,368 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!