Bootstrap 5 radio Button by Nitin Kumar Output View Horizontal Vertical HTML CSS JS Tidy Bootstrap 5 radio Button Please tell a bit about you so that we can personalize your onboarding experience You are looking for. Designs Projects HTML CSS JS Tidy body{ background-color: #eee; display: flex; justify-content: center; align-items: center; height: 100vh; } .card { border-radius: 10px; padding: 35px 26px; width: 400px; } .abt{ font-size: 14px; } .row-content { height: 100vh; } .inputbox{ margin-top: 12px; position: relative; } .inputbox span{ font-size: 14px; } .inputbox input{ border: 2px solid #eee; padding: 0 10px; } .inputbox .phonenumber{ text-indent: 30px; } .inputbox input:focus { color: #495057; background-color: #fff; border-color: none; outline: 0; box-shadow: none; border: 2px solid blue; } .input-tag{ position: absolute; top: 27px; left: 7px; width: 32px; } .proceed button{ height: 50px; } /*Radio buttons*/ label.radio { cursor: pointer; width: 100%; text-align: center; margin-right: 5px; } label.radio input { position: absolute; top: 0; left: 0; visibility: hidden; pointer-events: none } label.radio span { padding: 12px 20px; border: 2px solid #0d6efd; display: inline-block; color: #0d6efd; border-radius: 3px; text-transform: uppercase; width: 100%; } label.radio input:checked+span { border-color: #0d6efd; background-color: #0d6efd; color: #fff; } HTML CSS JS Tidy >_Console Clear Console >_Console File Setting HTML Code Playground Setting Title Description Bootstrap 5 custom radio Button with font awesome 6 library. Catagory Bootstrap Tags Bootstrap5 Font Awesome 6 Resource Add External Stylesheets and Script