I'm currently working on designing a donation form for a nonprofit organization. The form can be found at . One of the challenges I am facing is styling the radio buttons to appear like regular buttons using CSS. However, I have encountered an issue where other elements are getting aligned next to the option buttons. Additionally, I am looking to make the buttons responsive in order to match the site's overall design. Below is the custom CSS code I have implemented for the radio buttons:
input[type=radio] {
display:none;
}
input[type=radio] + label {
border: none;
float: left;
position:relative;
margin-left: 0.2em;
background-color: #BCD676;
border-radius: 0px;
color: #fff;
text-decoration: none;
letter-spacing: 1px;
font-size: 20px;
font-weight: bold;
text-transform: uppercase;
vertical-align: top;
padding: 1em 2.0em;
}
Thank you!