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

Remove unused CSS #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Remove unused CSS #32

wants to merge 1 commit into from

Conversation

benjanes
Copy link

Pulled out styles for form elements, tables, nav, carousel, among others. Pulled out a bunch of unused utility classes, e.g. for floats.

My strategy here was 1) common sense and 2) doing searches in the HTML for classes and class name prefixes found in the CSS. Two carousel.html and nav.html includes are both unused, so I went ahead and stripped out any CSS that only applied to elements/classes found in those files as well.

I did some side-by-side comparisons in Chrome and everything looked the same, but it would be great if someone else could give this a look as well.

Pull out styles for form elements, tables, nav, carousel, among others. Pull out a bunch of unused utility classes, e.g. for floats.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants