Live data from Hacker News

Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library

lissomware.github.io

11–20 of 48 posts

Re: Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library

#11

Earlier quoted context omitted.

Hi, do you mean that the underline appears under the highlighted text? No, that's not expected, I will see what I could do to fix it. However, the underline is indeed supposed to grow slightly thicker on hover.

Yes, looked a bit weird. I do have an outdated web browser so there's that but I would assume this should work well even on older ones (due to the overall simplicity). Sorry for nitpicking, this is obviously a very minor issue. I always welcome smaller and lighter libraries!

I've stretched out the line height a bit so it should look better now.

Re: Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library

#13
Firstly, let me say that this looks great. I really like the classless approach. One minor question/nitpick:

> To make a button primary, add the data-primary attribute to it.

For things like this, I feel like a class would be ok while still calling the library "classless". Is there some advantage to using a data-* attribute here or is it just to retain "purity" of the classless tagline?

Re: Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library

#15
post #6

For some reason this site is triggering a phishing warning in Chrome? I went to the site anyway and it seems completely harmless...

That's curious. It's just a simple HTML page with CSS attached, hosted on GitHub Pages. I don't see why it would trigger such a warning.

Many phishing lists don't treat github.io as a pseudo-TLD which leads to the entirety of *.github.io being blacklisted when someone uses Github Pages to host phishing or malware.

Re: Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library

#16

Earlier quoted context omitted.

Yes, looked a bit weird. I do have an outdated web browser so there's that but I would assume this should work well even on older ones (due to the overall simplicity). Sorry for nitpicking, this is obviously a very minor issue. I always welcome smaller and lighter libraries!

I've stretched out the line height a bit so it should look better now.

Yes! Works great.

Re: Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library

#17
post #14

I’m curious, what is the benefit from going “classless”? In my CSS usage, classes have been very useful. Why would you not want to use classes?

I'm not against classes at all. I believe they are essential to constructing a well structured website, especially for creating layouts. However, I also believe that as frontend developers we should embrace native and semantic HTML elements instead of reinventing the wheel and rolling our own solutions. Going classless for basic elements results in cleaner HTML markup and avoids "class pollution".

Re: Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library

#18
post #12

Something that doesn't address every single detail down to things like ::-webkit-credentials-auto-fill-button is not a library but an opinion.

Lissom.CSS is indeed opinionated. Would you prefer to call it a framework instead, or a stylesheet?

Re: Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library

#19
post #15

Earlier quoted context omitted.

That's curious. It's just a simple HTML page with CSS attached, hosted on GitHub Pages. I don't see why it would trigger such a warning.

Many phishing lists don't treat github.io as a pseudo-TLD which leads to the entirety of *.github.io being blacklisted when someone uses Github Pages to host phishing or malware.

Oh, I see. That's quite unfortunate.

Re: Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library

#20
post #14

I’m curious, what is the benefit from going “classless”? In my CSS usage, classes have been very useful. Why would you not want to use classes?

I think it's not about going completely classless, but about having sane defaults and only use classes for specific components and/or elements that really need a custom style.

The more traditional CSS libraries provide ton of classes, and your html is filled with classes for the basic styling.

Post reply on HN