4 ms·
> Let’s say you wanted all your <h1>s to be red, across your entire site. You had to do this: <H1><FONT COLOR=red>...</FONT></H1> …every single goddamn time. Ho
by kmoser 3y ago
> Let’s say you wanted all your <h1>s to be red, across your entire site. You had to do this: <H1><FONT COLOR=red>...</FONT></H1> …every single goddamn time. Hope you never decide to switch to blue!
This was never a big problem for me because in those days I wrote Perl scripts to generate my pages. I just defined $h1_color = 'red' and ran the script to crank out the static HTML pages. Boss (me :) wants to change the color to blue? Just change 'red' to 'blue' and re-run the script.
- cqqxo4zV46cp 3y agoYour own, worse, CSS, that requires a build toolchain. You were ahead of your time!
- codegeek 3y agoTo be fair, things like SASS and LESS have been out there for a while. Tailwind requires build in production.
- cuu508 3y agoI think we're talking 1995-2000 here, not 2006 (when sass appeared), 2009 (when less appeared), or 2018 (when Tailwind appeared)
- bmacho 3y agoIt isn't easy: - to have no build toolchain - to work without javascript - to have single configuration points