Raindrop.io Bookmarks 06/01/2021
著
- aspect-ratio - QuirksBlog
"In a flex or grid context, aspect-ratio can appear not to work. In fact, running into these problems was what caused me to write this article in the first place."
- Frustrating Design Patterns That Need Fixing: Birthday Picker -- Smashing Magazine
"When we ask our customers about their date of birth though, we are asking for a very specific date -- a very specific string, referring to an exact day, month, and year. In that case, a drop-down is unnecessary. Neither is a calendar look-up, defaulting to a more-or-less random value."
- Best practices for cookie notices
"You can use scripting to have a WebPageTest "click" the cookie consent banner while collecting a trace."
- A Thorough Analysis of CSS-in-JS | CSS-Tricks
"Are we dealing with a highly interactive application, with client-side rendering? In this case, we probably aren't very concerned about the overhead of rehydration, or care that much about extracting static .css files."
- Responsive design and container queries? Oh my! -- Ethan Marcotte
"After all, using the shape of the viewport to determine how individual modules should change and adapt? It feels...weird."
- Bergamot - Bergamot
"The Bergamot project will add and improve client-side machine translation in a web browser."