mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-10-24 19:26:26 +02:00
23 lines
390 B
SCSS
23 lines
390 B
SCSS
.radio-switch {
|
|
background-color: #d1d5db;
|
|
border-radius: 9999px;
|
|
display: inline-flex;
|
|
padding: 0.25rem;
|
|
}
|
|
|
|
.radio-switch__label {
|
|
border-radius: 9999px;
|
|
cursor: pointer;
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
.radio-switch__label--selected {
|
|
/* For selected radio only */
|
|
background-color: #3b82f6;
|
|
color: #fff;
|
|
}
|
|
|
|
.radio-switch__input {
|
|
display: none;
|
|
}
|