Raindrop.io Bookmarks 05/05/2024
著
- Combining CSS :has() And HTML <select> For Greater Conditional Styling -- Smashing Magazine
"We'd be doing :has() a great disservice if we only saw it as a "parent selector" rather than the great conditional operator it is for applying styles all the way up the chain. Seen this way, it's more of a modern upgrade to the Checkbox Hack in that it sends styles up like we were never able to do before."
- Asking users for their pronouns: A guide for UX designers
"It's not uncommon for people who identify as non-binary or queer to use multiple pronouns."
- April 2024 Accessibility Legal Update
"Rather than really "moving the needle" and facilitating meaningful change for people with disabilities, most serial plaintiffs settle quickly without regard to whether the companies they sued actually improved accessibility."
- Your page can't change media features | Kilian Valkhof
"The overflow media feature (or rather, the feature split out into both directions: overflow-block and overflow-inline) has the same name, and does something totally different."
- Kobold letters - Lutra Security
"This attack is possible because most email clients allow CSS to be used to style HTML emails. When an email is forwarded, the position of the original email in the DOM usually changes, allowing for CSS rules to be selectively applied only when an email has been forwarded."
- F-Shape Pattern And How Users Read -- Smashing Magazine
"Users spend 80% of time viewing the left half of a page."