Skip to content

Comment on CSS Curiosities of the Pastparent

Comments

Both not tricks, and I can't say I miss them, because I didn't work as web dev at the time. I only witnessed the trailing part of the pain, when I started, there were mostly flexbox-related browser inconsistencies.

Anyway:

  cursor: hand !indispensable;
seems vastly superior to
  cursor: pointer !important;

And I once came across the CSS "script expressions" out of web history curiosity.

Dangerous but appealing idea.

Seems like every web dev (well, those working on server-rendered markup and without AI, at least) would feel a desire for this at some point, but it was doomed at the time.

In some ways, reminds me of Houdini regarding the CSS->JS coupling (the other direction is already normal, sure).

But the intent behind it was probably just to allow maximum flexibility... well

  div.title { background-color: expression( (new Date()).getHours()%2 ? "#B8D4FF" : "#F08A00" ); }
does look quite funny :)

I'd love to hear more from people who actually used this.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.