Learn how to build a clean, responsive outlined button with hover effects using simple HTML and CSS—with a live preview in the Fullstackista app.
April 12, 2025
Photo by Milad Fakurian on Unsplash
Looking for a stylish, responsive button that feels modern but isn’t over-designed?
This clean outlined button with a sharp hover effect is perfect for landing pages, sign-up prompts, or any section where you want a button that stands out—without being too loud.
Let’s walk through what it is, how to use it, and where it works best.
#fca311
)
This creates a sleek, call-to-action button that feels interactive and modern.
This button isn’t just good-looking—it’s also mobile-friendly.
On smaller screens (tablets and phones), it automatically becomes a full-width button with top and bottom spacing.
This makes it perfect for:
Optional: If you want the button to use the same font shown in the preview (Cabin), add this to your `<head>` section:
<!-- Add to <head> section if using the Cabin font -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&display=swap">
Now paste this inside your <body>
:
<!-- Button -->
<button
class="fs-btn-orange-black-rounded-outlined"
aria-label="Sign up for an account"
>
Sign Up
</button>
Paste this into your CSS file or inside a <style>
tag:
/* Button Styling */
.fs-btn-orange-black-rounded-outlined {
background-color: transparent;
color: #fca311;
display: inline-block;
text-align: center;
padding: 0 20px;
height: 40px;
min-width: 100px;
font-family: "Cabin", sans-serif;
font-size: 16px;
font-weight: 400;
line-height: 1;
border: 2px solid #fca311;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease;
}
/* Hover Effect */
.fs-btn-orange-black-rounded-outlined:hover {
background-color: #fca311;
color: #000000;
}
/* Responsive Full-Width Buttons on Tablets and Smaller Screens */
@media screen and (max-width: 767px) {
.fs-btn-orange-black-rounded-outlined {
display: block;
width: 100%;
margin: 10px 0;
}
}
You can see a live preview of this button—plus many other types and styles—inside our app: Browse Fullstackista Templates.