diff --git a/test.html b/test.html index e80b0e3..302b124 100644 --- a/test.html +++ b/test.html @@ -23,6 +23,19 @@ color: var(--main-font-color); } + input[type=radio] { + appearance: none; + + border-radius: 50%; + border: 2px solid var(--main-bg-color); + transition: 0.2s all linear; + } + + input:checked { + background-color: black; + border: 2px solid var(--main-bg-color); + } + input[type=button] { border: var(--border-style); } @@ -68,10 +81,7 @@ .flex { display: flex; flex-wrap: wrap; - } - - .flex > * { - flex: 1 1 auto; + align-items: center; } header { @@ -173,7 +183,7 @@
A radio button group, with a "name" property set - + +
+ + + + + + +