Dynamic Styles in HTML
The purpose of this project is to make specific sites, particularly those that are now a bit old and thus cluttered and hard to read better. This site shows you what a site would have looked like back in the day.
Ideally, I put a button on https://test.davelevy.info which switches between the native html/css and the stylish sheet! I think LRD is beyond stylish, but we might have another look at the new nwn vault.
What hangs this page together is the use of ID and CLASS rules. (I suppose I agree that IDs are redundant since one doesn’t a unique rule, one can have a rule that is only used once.
- https://levelup.gitconnected.com/death-to-div-creating-a-better-html-4775793270fc , “not only was I able to create an entire webpage without using any divs, but I was also able to shrink the size of the site, style everything with a proper build pipeline, and create the smallest built project that I’ve ever made”
- https://twitter.com/jamonholmgren/status/1333104286872453120 , the inspiration
- https://anubisthejackle.github.io/custom-html-tags/ , the outcome
How to change the applied CSS when the button is used?