Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Prefix all CSS classes to prevent collisions #97

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants

Fixes #29

Pomax commented Dec 10, 2012

This might be too much namespacing. If webmaker-nav has a top element that everything else runs in, then namespacing can be done based on keeping that element's namespace as part of all selectors. That way you don't need to ns-prefix every class, just the topmost class, and have the preprocessor make sure that the toplevel selector is added to all rules.

@Pomax Pomax closed this Dec 18, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment