Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS optimization support remove unused CSS selector #5

Open
yuanyan opened this issue Jan 21, 2013 · 0 comments
Open

CSS optimization support remove unused CSS selector #5

yuanyan opened this issue Jan 21, 2013 · 0 comments

Comments

@yuanyan
Copy link
Contributor

yuanyan commented Jan 21, 2013

Search the whole plain HTML and template files in project, find and remove the unused CSS selector content in CSS files.

Orign:

.btn{}
.primary-btn{}
.js-primary-btn-active{}   /* JavaScript dynamic add */
.danger-btn{}                 /* Unused in current project */
.warn-btn()                    /* Unused in current project */
<button class="btn primary-btn">

After optimization:

.btn{}
.primary-btn{}
.js-primary-btn-active{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant