DEV Community

loading...

The :target pseudo element

Siddharth
13. Coding for a hobby
・1 min read

The :target pseudo element lets you select an element whose ID is in the URL (like https://example.com/example/url#id-here.

Discussion (0)