diff options
author | href <href@random.sh> | 2021-09-03 04:02:43 +0200 |
---|---|---|
committer | href <href@random.sh> | 2021-09-03 04:02:43 +0200 |
commit | 5fc45a0e3b144b5e87845d068940afb90c3646a6 (patch) | |
tree | 364e9276a63bd23d8033cdae4a9e3e4d5fd755c1 /assets/css/dropdown.css | |
parent | improve puppets, fix uploads (diff) |
assets..
Diffstat (limited to 'assets/css/dropdown.css')
-rw-r--r-- | assets/css/dropdown.css | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/assets/css/dropdown.css b/assets/css/dropdown.css new file mode 100644 index 0000000..57adb3b --- /dev/null +++ b/assets/css/dropdown.css @@ -0,0 +1,26 @@ +/* + * == DROPDOWN + */ + +.dropdown { + position: relative; + summary { + list-style: none; + cursor: pointer; + &::-webkit-details-marker { + display: none; + } + .content { + position: absolute; + } + details[open] summary::before { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + content: ""; + cursor: default; + } + } +} |