1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-24 11:16:27 +02:00
Files
csslayout/styles/patterns/_radio-switch.scss
2022-09-21 09:53:01 +07:00

22 lines
389 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;
}