News for hackers. Stuff that matters.
Re:Rapidly build efficient sites with Neat, the minimalist C... by p0w3n3d on Friday August 02, 2024 @03:29AM (#41136835)
I want this "rad widget" from examples. Where can I buy it? https://raw.githubusercontent.com/codazoda/neatcss-examples/...
Re:Rapidly build efficient sites with Neat, the minimalist C... by phantomathkg on Friday August 02, 2024 @03:49AM (#41136922)
Re:Rapidly build efficient sites with Neat, the minimalist C... by Bluestein on Friday August 02, 2024 @04:11AM (#41137001)
Oh, this is actually a thing ...

... by it being on a sample page for the framework - the 'simple shop' samples - I thought the 'widget' was just a placeholder, with an AI generated image, perhaps.-

But, no. It actually exists.-

Re:Rapidly build efficient sites with Neat, the minimalist C... by arkh on Friday August 02, 2024 @05:05AM (#41137218)
> Minified code requires the complexity of a transpiler and makes the site less open for inspection, learning, accessibility, and archive.

The fun of "early" websites was the fact you could just read the source of something you thought was neat and then copy and paste it to your own website. Now you also got this nice animation.

Re:Rapidly build efficient sites with Neat, the minimalist C... by Bluestein on Friday August 02, 2024 @06:56AM (#41137750)
Totally. There was "transferability" of knowledge. You could look "under the hood" (boot).-
Re:Rapidly build efficient sites with Neat, the minimalist C... by mrcartmeneses on Friday August 02, 2024 @04:47PM (#41142502)
The boot is the trunk, the hood is the bonnet
Re:Rapidly build efficient sites with Neat, the minimalist C... by Bluestein on Saturday August 03, 2024 @12:57PM (#41147721)
Took me a few rereads :)

Entirely correct. Me bad.-

Re:Rapidly build efficient sites with Neat, the minimalist C... by mrcartmeneses on Sunday August 04, 2024 @03:27PM (#41155706)
You’re good
Re:Rapidly build efficient sites with Neat, the minimalist C... by muhrizqiardi on Friday August 02, 2024 @05:44AM (#41137396)
Re:Rapidly build efficient sites with Neat, the minimalist C... by udkl on Friday August 02, 2024 @11:57AM (#41139922)
Re:Rapidly build efficient sites with Neat, the minimalist C... by memhole on Saturday August 03, 2024 @10:06PM (#41150710)
I used this for a project recently:

https://fomantic-ui.com/

Re:Rapidly build efficient sites with Neat, the minimalist C... by cynicalsecurity on Friday August 02, 2024 @06:18AM (#41137555)
If I wanted a minimalist CSS, I would simply write my own, which I already did many years ago.

Learning someone else's CSS file as if it's another technology is a questionable fun.

Re:Rapidly build efficient sites with Neat, the minimalist C... by jkestner on Friday August 02, 2024 @08:17AM (#41138216)
More or less agree. Other comments talking about how we used to be able read source. My old school behavior is that I’ve built up my own CSS framework that I start any new site with. Nothing ambitious, just reflecting the way I want my sites to be quick to code and responsive. It is satisfying to make your tools.

Granted, this is for my own small static sites, and I’ll still use Tailwind though I disagree with its philosophy, just because it’s good for prototyping (and then it sticks around) or is the basis for some other small theme I want to build on (like DaisyUI).

Re:Rapidly build efficient sites with Neat, the minimalist C... by _heimdall on Friday August 02, 2024 @09:19AM (#41138626)
Sharing CSS projects like this isn't just about getting a bunch of people to use it. Sharing ideas and patterns can be very helpful, especially to someone newer to CSS. You may pick up a minimal CSS stylesheet to get started and pretty quickly digging into it to see how it's actually built.

There are also interesting patterns that can be learned from and adapted to your own code. PicoCSS[1] had a new release recently and there's some really interesting stuff in there. The biggest standout to me is how forms are handled and leverage semantic HTML ideas to automatically add form validation styles.

[1] https://picocss.com/

Re:Rapidly build efficient sites with Neat, the minimalist C... by d1sxeyes on Friday August 02, 2024 @09:59AM (#41138849)
I love PicoCSS, but they go a bit beyond semanticism to build some of their components. For example 'article' becomes a card. Dropdowns use details/summary. Dialog close buttons use 'button rel="prev"' which is... maybe, I guess? If you consider a modal as some sort of shallow navigation...

Anyway, they make relatively few compromises on semanticity, and as a result, they can deliver a very polished-looking final product with more features than a purely semantic framework could deliver.

Again, I love it, just sometimes, you have to hold your nose a bit.

Re:Rapidly build efficient sites with Neat, the minimalist C... by _heimdall on Friday August 02, 2024 @11:42AM (#41139797)
Yep, totally agree here. I ran into exactly those same use cases, wanting a standard summary/details and wanting to wrap a blog post in an <article> element. I've been chewing on whether scoping the card style only to articles that are children of a list item would make sense, could be worth an issue or PR to get their take on it.

I've definitely learned a few interesting tricks poking around in their CSS though. I've been coding professionally for 15 years and doing mostly web for around 6 years. I'm always interested to see these minimal frameworks popping up, I feel like I learn at least a few nest tricks from each.

Re:Rapidly build efficient sites with Neat, the minimalist C... by jph on Friday August 02, 2024 @06:41AM (#41137659)
Neat lacks a header and navigation; this by design, and may be enough for simple sites. If you want more capability, Pure.css is good to try too https://purecss.io/
Re:Rapidly build efficient sites with Neat, the minimalist C... by riffraff on Friday August 02, 2024 @07:10AM (#41137833)
I remember using pure many years ago, I thought it had been abandoned since, but nice to see it's still kicking!
Re:Rapidly build efficient sites with Neat, the minimalist C... by Bluestein on Friday August 02, 2024 @06:53AM (#41137740)
Nice! Noted.-
Re:Rapidly build efficient sites with Neat, the minimalist C... by Am4TIfIsER0ppos on Friday August 02, 2024 @06:56AM (#41137754)
Re:Rapidly build efficient sites with Neat, the minimalist C... by didgeoridoo on Friday August 02, 2024 @09:15AM (#41138612)
Ah this project name brought back memories… https://github.com/thoughtbot/neat + bourbon.io was my Sass toolkit of choice for many years back in the early 2010s. For a moment I thought it was getting a pure-CSS revival now that CSS can accomplish most grid/layout stuff natively.
Re:Rapidly build efficient sites with Neat, the minimalist C... by ChrisArchitect on Friday August 02, 2024 @10:23AM (#41139020)
Shared by the dev in Show HN's often,

Some more discussion in 2023: https://news.ycombinator.com/item?id=35708613

Re:Rapidly build efficient sites with Neat, the minimalist C... by efilife on Friday August 02, 2024 @12:20PM (#41140133)
Another one?