We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81021f3 commit 1ad6d5bCopy full SHA for 1ad6d5b
1 file changed
css-forms-1/Overview.bs
@@ -886,16 +886,21 @@ input[type=radio] {
886
justify-content: center;
887
}
888
889
-input[type=radio] {
890
- border-radius: 50%;
+input[type=checkbox]:not([switch])::checkmark,
+input[type=radio]::checkmark {
891
+ content: '\2713' / '';
892
893
-input[type=checkbox]:not([switch]):checked::checkmark {
894
- content: '\2713' / '';
+input[type=checkbox]:not([switch], :checked)::checkmark {
895
+input[type=radio]:not(:checked)::checkmark {
896
+ visibility: hidden;
897
+}
898
+
899
+input[type=radio] {
900
+ border-radius: 50%;
901
902
903
input[type=radio]:checked::checkmark {
- content: '';
904
background-color: currentColor;
905
display: inline-block;
906
border-radius: inherit;
0 commit comments