Then in your CSS, apply the alternate styles as needed by targeting the html.alt-css class, which is dynamically added when the “Alt styles” button is clicked.

Bonus tip

To load a specific alternate stylesheet for some page(s) and a different custom stylesheet for other pages, use the first method (above) and add the following snippet (i.e., replace line 6 with these lines):