3 ms·
I'll take a deeper look in the code later, but it seems useful. If been using the window location hash to do some simple navigation on my SPA, but i use JS. (J
by atum47 3y ago
I'll take a deeper look in the code later, but it seems useful.
If been using the window location hash to do some simple navigation on my SPA, but i use JS. (Just hide all sections and shows the one that matches the hash i.e.: #main
- Kalabasa 3y ago> hide all sections and shows the one that matches the hash Oh there is a good hack you can do here! I've been meaning to write a blog post about this exact thing! See CSS `:target` selector section { display: none; } section:target { display: block; }
- tambourine_man 3y agoYou’re full of great hacks. That one I may actually use. Looking forward to that article.