We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 965c13d commit 458c41dCopy full SHA for 458c41d
css-forms-1/Overview.bs
@@ -677,17 +677,21 @@ input:is([type=checkbox]:not([switch]), [type=radio]) {
677
display: inline-flex;
678
align-items: center;
679
justify-content: center;
680
+ content: '';
681
+}
682
+
683
+input[type=radio] {
684
+ border-radius: 100%;
685
}
686
-input[type=checkbox]:not([switch])::checkmark {
687
+input[type=checkbox]:not([switch]):checked::checkmark {
688
content: '\2713' / '';
689
690
-input[type=radio]::checkmark {
- content: '';
691
+input[type=radio]:checked::checkmark {
692
background-color: currentColor;
693
display: inline-block;
- border-radius: 100%;
694
+ border-radius: inherit;
695
height: 100%;
696
width: 100%;
697
0 commit comments