<h1><a href="#hello">Hello</a></h1> <div id="hello"> <h2>Target</h2> </div>
#hello:target { color: red; }
This Pen is owned by Titangene on CodePen.
See more by @titangene on CodePen
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.