Is there a css selector for \"no fragment identifier present\"? The opposite of :target.
:target
The thing is, I\'m making a document where different parts of i
With some extra markup and more verbose and specific CSS to write, to avoid javaScript. Needs to be updated each time HTML structure is updated .
:target ~section { display:none; } #one:target ~.one, #two:target ~.two, #three:target ~.three { display:block; }
One Two Three None of below targets The first block (showing with #one) The second block (showing with #two) The third block (showing with #three)