Comment

Comment by yakshaving_jgt

Good riddance, though there is a somewhat masochistic pleasure in finding hacky solutions for old IE versions.

I once figured out that IE7 can be tricked into understanding the :before and :after CSS pseudo-elements with this:

  .thing {
    *zoom: expression( this.runtimeStyle.zoom="1", this.insertBefore( document.createElement("i"), this.firstChild).className="ie-before" );
  }

  .thing .ie-before {
    *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '|');
  }

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton