Comment

Comment by nickthemagicman

I don't know what to think about this style of CSS.

I was taught to use classes semantically and style from there.

A navbar would be a .navbar class for example and that would be styled in the stylesheet.

Istead of a bunch of classes in the html to define the styles for the navbar.

I'm old school though and this may be the better more modern way?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton