Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by alwillis

1 month ago

> It’s not a hack

Yeah, this isn't a hack; this is what media queries were made for.

Now, this is a hack!

You had to do this to make :hover work correctly for IE6—IE8 [1]:

    body {
      behavior: url("csshover3.htc");
    }

[1]: https://pawelgrzybek.com/internet-explorer-just-hit-the-end-...

1 comment

alwillis

Reply

netol  1 month ago

I agree, this was not a hack. It is combined behavior from documented features (preload with media and lazy loading).

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities