3 ms·
I've been doing grid-first for a few years now (last major update was when buttons hot grid support) across apps including high performance google docs-type col
by nailer 4y ago
I've been doing grid-first for a few years now (last major update was when buttons hot grid support) across apps including high performance google docs-type collab interfaces. It's fine.
Optimising for existing behavior reminds me of when people didn't want to use async/await as V8 'wasn't optimised' for it. await never felt slow in their apps anyway, but now it's similar fast to what callbacks were. Skate to where the puck going to be.
> for what gain? I don't use any of those tricks/hacks anyway
OK. Everyone else does but maybe you're the exception.
> For rounded gradient borders... just use border-radius combined with `border-image: some-gradient-function()`. No hacks or tricks required.
Are you sure? https://stackoverflow.com/questions/51496204/border-gradient-with-border-radius https://stackoverflow.com/questions/51496204/border-gradient... - judging by the views on that question, if you have a codepen there's at least 42,000 people who'd love to see, it my understanding is that the W3C spec says it shouldn't work.
Probably obvious, you sound like you know what you're doing but: adding additional elements, pseudoelements etc counts as hacks.
Here's border-radius combined with `border-image: some-gradient-function()`:
https://codepen.io/mikemaccana/pen/QWVpdmo https://codepen.io/mikemaccana/pen/QWVpdmo
- DaiPlusPlus 4y agoThank you for that info - I honestly didn't know that border-radius didn't work with border-image.
- nailer 4y agoIt’s OK! Thanks for replying politely. HN can be combative sometimes.