Over this past weekend, I made a project that no one asked for.

You've heard of css-in-js; now write css* to make html using html-by-css.

https://www.npmjs.com/package/html-by-css

html-by-css

Generate html by writing css. Latest version: 1.1.0, last published: 2 hours ago. Start using html-by-css in your project by running `npm i html-by-css`. There are no other projects in the npm registry using html-by-css.

npm
@donnie Huh. So forcing structure in CSS to generate a template. Fascinating.
@amyleesf Yeah, we're often writing the same kind of properties across these files. Since HTML is structure, we can also represent that with CSS via nesting.
@donnie I feel like I'm going to meditate on this a bit.
@donnie this reminds me of a project that would parse the HTML and return the relevant class names in Sass.
@sturobson Hmm, yeah. Difference here is that you can avoid writing one of the languages entirely. 😆