Hey! I just want to say, this is awesome and I wish you the best of luck. I am a Developer and I noticed a few really concerning things in your CSS: 1. I believe you're committing the greatest CSS Sin: Emulating the DOM structure using nesting. Here is one example: "#site-header.newheader nav>ul>li>a.buttonGreen" That CSS Selector should not exist like that. You shouldn't be using ids (first) and second this should b…
I believe you're committing the greatest CSS Sin: Emulating the DOM structure using nesting. Here is one example: "#site-header.newheader nav>ul>li>a.buttonGreen" ... If you'd like more advice on how to fix this I have written many talks. I didn't know this was an issue until recently and now I'm slowly fixing it on my main project. I'd love your additional advice/pointers!
1) Don't use tag names in css
div.something should be .something
2) Don't use id's3) Isolate elements into logical components and name part of those components in the css.