Hacker News new | ask | show | jobs
by sharps_xp 1498 days ago
this might be controversial, but i just want to write semantic html and be able to toggle the design. if the design requires additional elements or JS, then it’s way too complex for a solo dev (for me anyway).

i think classless css frameworks really opened up the possibility for backend devs to spin up a project as long as they can write good thoughtful html.

i’m building my own classless stylesheet that i plan to use across all of my projects because todays classless are mostly for content or marketing sites but what i need is more app ui.

3 comments

I just want to read semantic HTML and handle the page formatting myself.
> "i’m building my own classless stylesheet that i plan to use across all of my projects..."

i'm doing the same! i tried use bootstrap again recently, and although it's gotten better from older versions, i just couldn't atop fighting it's anti-semantic assumptions (don't even get me started on tailwind!).

Do you plan to define your own tags to have a richer semantic html, and then translate it into plain html with corresponding js/css? Because html is very poor. Where is my menu tag??
> "Where is my menu tag??"

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/me...

<menu> is used like an unordered list, with <li> tags inside it, but has a specific semantic meaning.

But <menu> should contain <option> not list item <li>. They got the semantic wrong to reuse the list as a shortcut and called it a day.