Re:The Future (and the Past) of the Web Is Server Side Rende...
by duncan-donuts on Friday February 03, 2023 @08:26PM
(#34650324)
I just started using htmx in a new personal project. I’m pretty excited to see how it goes. I’m doing a sort of back to basics stack with PHP, simple classless css lib and htmx. So far it’s been a refreshing experience
Re:The Future (and the Past) of the Web Is Server Side Rende...
by cutler on Friday February 03, 2023 @08:55PM
(#34650543)
"classless css lib" ??
Re:The Future (and the Past) of the Web Is Server Side Rende...
by uneekname on Friday February 03, 2023 @09:26PM
(#34650739)
Not op but classless CSS frameworks are awesome. The idea is to keep it simple and use the appropriate HTML tags where there were generally meant to go, and the framework will theme the page to improve usability and add flair. I've developed some great little sites with no classes at all!
Obviously this approach has its limits, but it works well for proof-of-concept sites or sites that don't need to be very complex or dynamic. Just a sensible font size, nicer looking form elements, etc.
Here is a list of classless CSS frameworks: https://github.com/dbohdan/classless-css
Re:The Future (and the Past) of the Web Is Server Side Rende...
by 1123581321 on Friday February 03, 2023 @09:28PM
(#34650749)
It's a CSS stylesheet you include in every page/view. You don't add any classes to your HTML and rely on the defaults of that stylesheet to style the semantic markup. If those defaults are good for your project, and you have some command of HTML elements beyond using divs and spans for everything, it saves a lot of time.
I really hope it or something like it becomes popular long term.