CSS   

Custom radio button design CSS only

This tiny code snippet can be used to create a custom radio button design with CSS only.

HTML Code

<div class="field-wrap">
    <h3>Custom Radio buttons</h3>
    <label class="custom-radios">
        <input type="radio" name="choice"> 
        Custom radio button choice 1
    </label>
    <label class="custom-radios">
        <input type="radio" name="choice"> 
        Custom radio button choice 2
    </label>
    <label class="custom-radios">
        <input type="radio" name="choice"> 
        Custom radio button choice 3
    </label>
</div>

CSS Code

.custom-radios{
  display:flex;
  align-items:center;
  cursor:pointer;
  margin-bottom:10px;
}
.custom-radios input{
  margin-right:10px;
  width:15px;
  height:15px;
  outline:2px solid #2d2d2d;
  border:3px solid #fff;
  border-radius:100%;
  appearance:none;
  -webkit-appearance:none;
  transition:all .3s ease;
}
.custom-radios input:checked{
  background-color:#d72900
}

 

Need Professional Support for Your Website Problems?

Whether you're facing website issues or struggling with code implementation, our team is here to assist. Hire us to get your website back on track.

Hire Us

Got an idea? We'll turn it into reality.

Tell us what you're building, what's broken, or what numbers need to move. We'll come back within one business day with a short plan — no long decks, no sales calls without purpose.

Response time: First reply within 1 business day on 100% of messages.
Transparent scope: Fixed proposals with weekly check-ins & live task tracking.
Ship-ready builds: Every engagement leaves behind documented, transferable work.
Long-term partners: Ongoing retainers for support, SEO, ads, and content.