Tobias Ahlin, a designer and developer, writes about CSS techniques, animation, and moving from jQuery to vanilla JavaScript, and made the SpinKit spinners.
HN commenters like the blog and link SpinKit, his collection of CSS loading spinners, which at least one commenter used in their own project.
> You're incoherent.
I am very coherent
Ok. Let's be very coherent. Let's talk about one single thing.
Not so long ago Twitter redesigned their website. Mind you, Twitter is far from being a complex app UI-wise. It's basically text plus images. All they did was re-implement infinite scrolling using a well-known paradigm called a virtual list (or a virtual table).
Here's a small video of their original result: https://grumpy.website/post/0RQvmdNmN
Note: I implemented a similar functionality in C++ Builder circa 2004 and in Qt circa 2005. This entire functionality is either available right out of the box, or will take a first-year CS student a day or two to implement by following a simple tutorial (because virtual lists are a thing available in all UI kits since probable early 80s).
It took Twitter close to a year to fix this functionality.
Now, tell me: why is it that such a powerful platform:
a) doesn't have this functionality out of the box
b) requires a company the size of Twitter almost a year to implement somewhat satisfactorily
c) why didn't Twitter just "go ahead and download a package" that implements this trivial primitive functionality that is so readily available, once again, everywhere else.
From here on we can discuss all the other trivial and primitive things that require you to depend on someone to spend untold man-powers to implement them in the "so powerful a platform".
And from there on we can move on to discussing why these trivial and primitive…
You may have to group elements, yes. But generally speaking, they already are grouped in some logical sense. And you can do a lot now with grid, without having to wrap child elements in containers. It's not absolutely separated but to great degree it is (in my experience at the very least).
And yes, you can select previous elements with :has(). Here is an article about it: https://tobiasahlin.com/blog/previous-sibling-css-has/
This is why I like HN. I was about to build something similar. I choose the same color and even picked the same spinner http://tobiasahlin.com/spinkit/ :)
Kudos. I'd like to give a try with my mp3 library. Maybe just add it to README?
I had two bugs.
- header bg was not loaded
- there was a high pitch sound (defo not part of the song)
I really love this one:
https://tobiasahlin.com/
Shameless self promotion (my blog):
https://muffinman.io/
And of course, Daring Fireball:
https://daringfireball.net/
A collection of CSS spinners: https://github.com/tobiasahlin/SpinKit
Demo: http://tobiasahlin.com/spinkit/