a collection of front-end idea's, tutorials and snippets


The :target Trick [CSS:show/hide, modal]

The :target pseudo-class refers to an element within the document that the URL’s fragment points to. For example, this piece of text is wrapped in a <mark> element which has an ID of #target-test. If you went to the url,, then that

Source: The :target Trick


Comments are Closed

Theme by Anders Norén