diff options
| author | Haishan <[email protected]> | 2021-06-06 00:32:24 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2021-06-06 00:33:22 +0800 |
| commit | 5ff2f89afb71fd2976c487692ec73085241e09c7 (patch) | |
| tree | fe7a53d8839b1406e4ff31a2fa8a543669c7693f /src/components/Selection.module.scss | |
| parent | 25dbe5eff483bfdceec677b13ad4ec905c5fe566 (diff) | |
Stop use postcss-nested postcss-extend-rule
Diffstat (limited to 'src/components/Selection.module.scss')
| -rw-r--r-- | src/components/Selection.module.scss | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/components/Selection.module.scss b/src/components/Selection.module.scss new file mode 100644 index 0000000..ba47089 --- /dev/null +++ b/src/components/Selection.module.scss @@ -0,0 +1,23 @@ +.fieldset { + margin: 0; + padding: 0; + border: 0; + display: flex; + flex-wrap: wrap; +} + +.input + .cnt { + border: 1px solid transparent; + border-radius: 8px; + cursor: pointer; + margin-right: 5px; + margin-bottom: 5px; +} + +.input:focus + .cnt { + border-color: #387cec; +} + +.input:checked + .cnt { + border-color: #387cec; +} |
