Anna Migas
Only today at #fronttrends I found out that @adactio added a link to Starability.css on his website. I think it is hard to get a better recommendation ⭐️⭐️⭐️⭐️⭐️ adactio.com/links/13708 /cc @Lunar_Logic
Accessible star ratings (progressively enhanced from radio buttons) with lots of animation options. The code is on Github.
Only today at #fronttrends I found out that @adactio added a link to Starability.css on his website. I think it is hard to get a better recommendation ⭐️⭐️⭐️⭐️⭐️ adactio.com/links/13708 /cc @Lunar_Logic
Turns out that the :checked pseudo-class selector allows you to do some clever interaction without JavaScript.
This is a really interesting proposal, and I have thoughts.
Prompted by my recent post about using native button elements, Trys puts forward a simple explanation for why someone would choose to use a div instead.
The one common feature between every codebase I’ve encountered on that doesn’t use
buttons well, is a bad CSS reset. Developers try to use abutton, and find that it still looks like a native browser button, so they grab a plain old, blank canvasdiv, and build from there.
Occam’s Razor makes Trys’s explanation the most likely one.
Bringing gradients back, baby!
This is going to be a handy reference to keep on hand whenever you want a button to actually look like a button.
In defence of the cascade (especially now that we’ve got CSS custom properties).
I think embracing CSS’s cascade can be a great way to encourage consistency and simplicity in UIs. Rather than every new component being a free for all, it trains both designers and developers to think in terms of aligning with and re-using what they already have.
Remember, every time you set a property in CSS you are in fact overriding something (even if it’s just the default user agent styles). In other words, CSS code is mostly expressing exceptions to a default design.
An alternate route to a declarative version of the Web Share API.
Ideas for some declarative shortcuts.
Pushing for a share button type—the story so far…
Combining custom properties, hsl(), and calc() to get cascading button styles.
Why I’d like to see one or two more elements included in the new proposal for styling form controls.