PENCILVOID

pencilvoid.neocities.org

505,498 views
121 followers
9,838 updates
0 tips
1 like
pencilvoid's avatar pencilvoid 2 years ago

"Making dropdowns with pure CSS would be a good idea" said pencilvoid, with no idea what they were getting themselves into

1 like
owlroost's avatar owlroost 2 years ago

Really does seem like it should be easier, right? Checkbox hack, or another method?

1 like
pencilvoid's avatar pencilvoid 2 years ago

Checkboxes, divs, and prayers

pencilvoid's avatar pencilvoid 2 years ago

I've considered switching to use HTML details and summary tags but i have no idea if those are semantically different in any meaningful way

owlroost's avatar owlroost 2 years ago

As far as I know, details and summary are better than the checkbox hack in terms of accessibility (and maintenance effort).

owlroost's avatar owlroost 2 years ago

Also found this as an option via StackOverflow: https://stackoverflow.com/a/63724779

finel's avatar finel 2 years ago

I use details and summary tags as a dropdown for my own ease (being more of a coding beginner), don't know if it's how they should be used but it is comfortable. also they open and close in reading mode which I think is nice.

Website Stats

Last updated 4 days ago
CreatedJun 22, 2018
Site Traffic Stats

Tags

art personal pencilvoid