allo- / ffprofile

A tool to create firefox profiles with personalized defaults.
GNU Affero General Public License v3.0
784 stars 56 forks source link

Allow navigation with pure CSS #261

Open allo- opened 2 years ago

allo- commented 2 years ago

The site almost works without scripts using the following CSS:

.tab-pane:target {
    display: block;
}

The only problem is the start page. Visiting the Site, one does not land at #start and the start page is empty. Redirecting server-side is not possible as the server does not see the hash.

Options:

I also would appreciate if anyone can verify that it works without Javascript.

TODO: The script currently also adds and removes .active class. This could also be implemented using the :target selector.