Circle Buttons
Create your own circle buttons with icons in Bootstrap 4. Bootstrap snippet by Bootstrapious
Small circle buttons
Regular circle buttons
Large circle buttons
XL circle buttons
https://jsfiddle.net/bootstrapious/g6bt8v9z/
Use cards as radio buttons for Bootstrap 4 - Advanced Components
by djibe.
(thx to BS4 + Daemonite Material Design)
Tutorial
-
Wrap a standard radio input within a
label
:
<label> <input type="radio" name="organization" class="card-input-element d-none" id="demo"> </label>
-
Set CSS property
display: none
to this radio input. Here I use Bootstrap 4 utilityd-none
class. - Within this label, just after the
input type="radio"
, now add a simple div styled as a card:
<div class="card card-body d-flex flex-row justify-content-between align-items-center"> Organization 1 </div>
- Add some CSS (refer to this fiddle CSS) for a better look.
- Et voilĂ
Demo
Click on those cards to play with radios styled as cards.
You can remove the animated check icon effect.
Choose your Organization:
https://jsfiddle.net/djibe89/at2cv9q1/