Comment

Comment by pan69

Looks great. However, I've never really understood this sort of approach:

    <ul class="collection">
      <li class="collection-item">Alvin</li>
      <li class="collection-item">Alvin</li>
      <li class="collection-item">Alvin</li>
      <li class="collection-item">Alvin</li>
    </ul>
Rather than assigning a "collection-item" class to each "li", would you not simply style the "li" in the context of "collection"?

Bootstrap does a similar thing. Drives me nuts...

parent pan69 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton