Flat UI buttons
How do I make an flat ui buttons?
What is a flat ui buttons? How do you make a flat ui buttons? This script and codes were developed by Robert on 08 November 2022, Tuesday.
Flat UI buttons - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flat UI buttons</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <input type="submit" value="Save" class="btn" />
<span class="btn btn_gray">Clear Form</span>
<a href="#" class="btn btn_red">Delete</a>
<div class="btn btn_blue">Info</div>
<button class="btn btn_orange"><i>→</i>Travel at the speed of light</button>
</body>
</html>
Flat UI buttons - Script Codes CSS Codes
html { padding: 50px; font: 14px 'Helvetica', sans-serif;
}
input.btn,
button.btn { font: inherit; border: none; -webkit-appearance: none; appearance: none;
}
.btn { display: inline-block; padding: 10px 30px; border-radius: 3px; color: #fff; text-decoration: none; cursor: pointer; background: #21be21;
}
.btn:hover { box-shadow: 0 -4px #199319 inset;
}
.btn:active { box-shadow: none; padding-bottom: 6px; background: #1fb51f;
}
.btn:active { -webkit-transform: translateY(4px); -moz-transform: translateY(4px); -ms-transform: translateY(4px); transform: translateY(4px);
}
.btn i { display: inline-block; vertical-align: text-top; height: 1em; width: 1em; margin-top: 1px; margin-right: 0.5em; margin-left: -0.5em; font-style: normal; line-height: 1em;
}
.btn_gray { background: #aaa;
}
.btn_gray:hover { box-shadow: 0 -4px #919191 inset;
}
.btn_gray:active { box-shadow: none; padding-bottom: 6px; background: #a5a5a5;
}
.btn_red { background: #be2221;
}
.btn_red:hover { box-shadow: 0 -4px #931a19 inset;
}
.btn_red:active { box-shadow: none; padding-bottom: 6px; background: #b5201f;
}
.btn_blue { background: #3c6e8e;
}
.btn_blue:hover { box-shadow: 0 -4px #2d526a inset;
}
.btn_blue:active { box-shadow: none; padding-bottom: 6px; background: #396887;
}
.btn_orange { background: #E67E22;
}
.btn_orange:hover { box-shadow: 0 -4px #bf6516 inset;
}
.btn_orange:active { box-shadow: none; padding-bottom: 6px; background: #e4791a;
}
Developer | Robert |
Username | rendro |
Uploaded | November 08, 2022 |
Rating | 3 |
Size | 2,541 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 |
Subtle overlay | 2,579 Kb |
CSS Map pin | 2,001 Kb |
CSS3 Diamond | 1,960 Kb |
CSS vintage filter form images | 2,190 Kb |
CSS3 animated wooden box | 4,289 Kb |
Confirm appointment dialog | 3,130 Kb |
Flexbox slider | 3,459 Kb |
3D canvas cube | 2,895 Kb |
Mobile navigation button | 2,659 Kb |
WebGL cube test | 15,142 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 |
FCC - Tribute Page | Cmwebby | 0 Kb |
Use the Twitchtv JSON API | Roksanaop | 3,561 Kb |
Drifting Clouds | Benedikte | 2,247 Kb |
Canvas Orbital Trails v2 | Jackrugile | 3,421 Kb |
IbrahimJabbari-Effect14 | Ibrahimjabbari | 1,919 Kb |
Dragonball Dragon Radar | DouglasGlover | 2,157 Kb |
Blog Concept - Single Post | Marionebl | 9,603 Kb |
Simple Weather App | Cmwebby | 0 Kb |
Slide In Panel | Vikvarg | 2,811 Kb |
SVG Animation | Thepheer | 4,793 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!