Also FB had a way to do browser-specific styles so we just did that a lot of the times. Made things easier than manually reverting properties inside of the @supports block
Also FB had a way to do browser-specific styles so we just did that a lot of the times. Made things easier than manually reverting properties inside of the @supports block
I tried to (ab)use custom elements and shadow dom to do this but it doesn’t actually work properly.
I tried to (ab)use custom elements and shadow dom to do this but it doesn’t actually work properly.
And my actual code had a fallback for older browsers where the border radius was a static px value. So we’re on the same page there!
And my actual code had a fallback for older browsers where the border radius was a static px value. So we’re on the same page there!
But when I use this thing these days I reach for container queries too!
But when I use this thing these days I reach for container queries too!
You can do slapstick humor in your thumbnails
You can do slapstick humor in your thumbnails
- tools like Tailwind and StyleX solve that.
- I’d argue StyleX and Vanilla Extract are much closer to CSS syntax without all the weird problems of Tailwind.
- tools like Tailwind and StyleX solve that.
- I’d argue StyleX and Vanilla Extract are much closer to CSS syntax without all the weird problems of Tailwind.
- plan CSS is a bit of maintainability nightmare. CSS modules is a thin abstraction that solves that.
- however for larger applications it becomes a performance bottleneck as the CSS keep growing as the app keeps growing
- plan CSS is a bit of maintainability nightmare. CSS modules is a thin abstraction that solves that.
- however for larger applications it becomes a performance bottleneck as the CSS keep growing as the app keeps growing
I was more wondering what is impossible or inconvenient in frameworks like React. Because all the new goodness like dialog, popover etc seems just work
I was more wondering what is impossible or inconvenient in frameworks like React. Because all the new goodness like dialog, popover etc seems just work
Now that React supports ref functions with cleanup, I can see a useEvent() hook making this all fairly manageable.
Now that React supports ref functions with cleanup, I can see a useEvent() hook making this all fairly manageable.