Rounded Rectangle - Color Change on Hover

This button is the rounded-corner version of the classic rectangular style. The choice between sharp or rounded corners is purely aesthetic - both have trended in and out of fashion. While sharp edges may be having a moment, the softer feel of rounded corners can better suit certain designs.

You don’t need a border to use border-radius; the rule still applies without one.

HTML:

Copy to clipboard
<a href='#'><div id='button-example-935'>Click here!</div></a>

CSS:

Copy to clipboard

#button-example-935 {

color: #fffff7; background-color: #652F2A; padding: 20px 40px; font-size: 18px; font-weight: 600; width: 200px; text-align: center; border-radius: 15px;

}

#button-example-935:hover {

background-color: #D1B589;

}

Pumpkins n' Pies

For gluten-free baking enthusiasts and garden lovers: discover delicious, from-scratch recipes featuring sourdough, whole foods, and most importantly – pie! Explore gardening tips from central Illinois, along with a byte of code for fellow developers.
 © 2026 Abhishek & Miriam Chaturvedi