Skip to content

Comment on Broider: Pixel Art CSS Bordersparent

Comments

Thank you for posting this. I spent a long time hating on “M$” back in the day when they were embracing and extending everything, including the web. As the years go by though, I have built only an ever increasing respect for how Windows manages to retain backwards comparability with the Neolithic ages. …and now, this. Incredible.

The numbers themselves look to be eight bytes of eight bits. The 50% gray gives it away:

  >>> 0b01010101
  85
  >>> 0b10101010
  170
What happens if you put more than 8 bytes in there? Or a negative number? What about “ ªU ªU ªU ªU”, the bytes for the grayscale? Give it a poke!

Makes sense; the pattern is 8x8 pixels, each number representing one row.

AboutSource Built by g1lg1l

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