Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I'm following this guide to use #anchor and :target selector to have multiple pages in a single HTML file, for fun. However, I'm not sure how to show my home page anchor by default. From reading the source code, the author does that by just doing:
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- John Doe single-file HTML website template - uses the #anchor suffix and the :target CSS selector to show and hide pages/content. This setup is databaseless, javascriptless, and buildshit-free, so you can edit your website with a text editor and upload it somewhere like a normal person
- John Doe single-file HTML website template - uses the #anchor suffix and the :target CSS selector to show and hide pages/content. This setup is databaseless, javascriptless, and buildshit-free, so you can edit your website with a text editor and upload it somewhere like a normal person
- John Doe single-file HTML website template - uses the #anchor suffix and the :target CSS selector to show and hide pages/content. This setup is databaseless, javascriptless, and buildshit-free, so you can edit your website with a text editor and upload it somewhere like a normal person
- John DOE single-file HTML website template
- Soupault: A static website management tool