, 1 min read

HTML Anchor Highlighting

Original post is here eklausmeier.goip.de/blog/2021/08-31-html-anchor-highlighting.


In Alexander Six's blog I saw that you can highlight HTML anchor text with a skewed bar. Below is the solution I use in this blog. I am still struggling with my own requirement that the skeyY angle is dependent on the length of the anchor string. Currently I do not know how I can find this out.

Another similar idea from RoccoP is below:

Below animation by Ana Tudor shows how skewX and skewY work in CSS. Press on HTML button to see the result.