Use :target Pseudo-selector

Read a article and found css selector :target interested. I apply it to my blog. Please click the below link to see the difference.
To anchor

Try me

I set the css selector to change the word color to blue when anchor is become targeted.

sass
1
2
3
4
5
h3 {
  a:target {
    color: blue;
  }
}
css

Comments