Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Looky1173
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
Looky1173
3y ago
Like `display: flex; flex-direction: column; width: 100%;`?
32.
▲
by
Looky1173
3y ago
I've just added basic form styles. More to come soon...
33.
▲
by
Looky1173
3y ago
Exactly! You shouldn't need to remember classes for styling native HTML elements, and neither should you be forced to type out <button class="button"></button>, where you would be repeating yourself.
34.
▲
by
Looky1173
3y ago
It's mainly the latter. I did consider just using a class, but ultimately settled on this solution. This approach might facilitate usage with additional CSS compilers/tooling.
35.
▲
by
Looky1173
3y ago
Oh, I see. That's quite unfortunate.
36.
▲
by
Looky1173
3y ago
Lissom.CSS is indeed opinionated. Would you prefer to call it a framework instead, or a stylesheet?
37.
▲
by
Looky1173
3y ago
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 ele
38.
▲
by
Looky1173
3y ago
I've stretched out the line height a bit so it should look better now.
39.
▲
by
Looky1173
3y ago
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.
40.
▲
by
Looky1173
3y ago
Thanks for the feedback, I've just set the line height to 1.4.
41.
▲
by
Looky1173
3y ago
Thank you! I haven't finished form elements yet but they are definitely in the works.
42.
▲
by
Looky1173
3y ago
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.
43.
▲
Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
(lissomware.github.io)
55 points
by
Looky1173
3y ago
|
46 comments
44.
▲
by
Looky1173
4y ago
Happy new year HN from central Europe!