Skip to content

Comment on Show HN: A DOM text-selection highlight renderer

Comments

I noticed that you can mark an already marked section, which adds the marked color on top again, and again and again until you can't tell anymore because alpha = 100.

yes, thats correct, I just specified colors for 4 overlappings. This is just made with css, you can specify the level how deep you want.

Oops... I guessed wrong. It's a nice option to be able to define different colors for each level. Great work.

AboutSource Built by g1lg1l

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