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

Separate normalize.css from main.css #1160

Merged
merged 1 commit into from
Aug 9, 2012
Merged

Separate normalize.css from main.css #1160

merged 1 commit into from
Aug 9, 2012

Conversation

necolas
Copy link
Member

@necolas necolas commented Aug 6, 2012

(An alternative to the Grunt stuff in gh-1140)

Benefits of disentangling normalize.css from the rest of the project's
CSS:

  • Easier to track normalize.css version.
  • Easier to update normalize.css.
  • Easier to remove normalize.css if the user wants.
  • Clearer distinction between normalizing CSS and the additions that
    HTML5 Boilerplate provides.

Drawback is the additional HTTP request incurred from the extra
stylesheet referenced in the HTML. However, we already do something
similar for the JS, and anyone serious about performance is going to
employ a build process to concatenate and minify CSS/JS.

Ref gh-1132
Ref gh-1140

@vendruscolo
Copy link

I like this approach, but.. Why not a submodule? In this way we don't have to manually keep the file "in sync".

@necolas
Copy link
Member Author

necolas commented Aug 9, 2012

Because a submodule is big and clunky, adds complexity, and makes the required paths longer.

@daparky
Copy link

daparky commented Aug 9, 2012

+1 for this :)

Benefits of disentangling  normalize.css from the rest of the project's
CSS:

* Easier to track normalize.css version.
* Easier to update normalize.css.
* Easier to remove normalize.css if the user wants.
* Clearer distinction between normalizing CSS and the additions that
  HTML5 Boilerplate provides.

Drawback is the additional HTTP request incurred from the extra
stylesheet referenced in the HTML. However, we already do something
similar for the JS, and anyone serious about performance is going to
employ a build process to concatenate and minify CSS/JS.

Ref gh-1132
Ref gh-1140
@necolas necolas merged commit d590b0e into master Aug 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants