Category Archives: blog

The :target CSS pseudo-class

target_pseudo class CSS

CSS3 also introduced :target; a powerful pseudo-class which can reduce the need for scripting in interactive widgets. :target – The target pseudo class is used in conjunction with ID’s, and match when the hash tag in the current URL match that ID. So if you are at URL then the selector #home:target will match. Read More