#tailwind
3 discoveries · Hand-picked discoveries from the open web, newest first.
-
Olive CSS: Tailwind’s class names, a Lisp engine, no JavaScript
Olive CSS generates a utility-class stylesheet from a Guile program. You write the class names you already know from Tailwind, and one plain CSS file comes out. I wrote it because I was tired of installing a JavaScript toolchain to produce a file whose entire job is to contain CSS. The generator is a Guile library, so a build is a function call with the colours, breakpoints and variants you want, and everything between the palette and the stylesheet is code I can read. Tailwind’s syntax, a Lisp engine, Vanilla CSS and a utility class stylesheet you own. The source is at https://github.com/jjba
Kagi Small Web · EN
-
Show HN: Postcss-autofluid – fluid Tailwind styles via CSS functions
Experimental PostCSS plugin using native CSS custom functions (@function) to make any responsive style interpolate between breakpoints without any code changes. CSS @function currently ships only in Chromium 139+, other browsers simply ignore the added CSS so nothing breaks. Comments URL: https://news.ycombinator.com/item?id=50713065 Points: 1 # Comments: 0
Show HN · EN
-
Moving away from Tailwind, and learning to structure my CSS
Hello! 8 years ago, I wrote excitedly about discovering Tailwind . At that time I really had no idea how to structure my CSS code and given the choice between a pile of complete chaos and Tailwind, I was really happy to choose Tailwind. It helped me make a lot of tiny sites! I spent the last week or so migrating a couple of sites away from Tailwind and towards more semantic HTML + vanilla CSS, and it was SO fun and SO interesting, so here are some things I learned! As usual I’m not a full-time frontend developer and so all of my CSS learning has happened in fits and starts over many year
Julia Evans · EN