Is it possible to use a link that points to an anchor in the same document to control the visibility of divs within that document? This would allow me to display different content by simply changing the URL. Can this be achieved using CSS?
For example:
index.html#test
<div id="test">This is visible</div>
<div id="not">This is not visible</div>
<div id="may">May be visible through a css selector</div>