top | item 2868860

HTML5 Boilerplate v2.0 released

267 points| necolas | 14 years ago |html5boilerplate.com | reply

28 comments

order
[+] trebor|14 years ago|reply
Glad to see that I'm not the only one who likes the normalize.css technique.
[+] dwolfson20|14 years ago|reply
I've always thought resetting by using a scalpel would be better than resetting by using a machete. But the problem with the scalpel is, you have to know how and where to cut. So thanks, Boilerplate guys, for figuring out where to cut!
[+] ZoFreX|14 years ago|reply
I've never liked CSS resets, but I went through every line of normalize.css and have sinced used it on several websites, and love it. It is an incredibly well-researched and thought out stylesheet, but more importantly, every decision is justified and cited in the comments, so you can make up your own mind quite easily.
[+] sandGorgon|14 years ago|reply
Question from someone who is not an expert in crafting CSS: Is normalize.css something that needs to be actively maintained as newer (versions?) browsers come up or older browser have some changes ?

It sounds to me that CSS Reset might be a "bulldozer" and is absolutely inelegant, but I would not have to download a newer version of it every 6 months as I probably would have to do with normalize.css. Am I missing something here ?

[+] necolas|14 years ago|reply
Good question. Even CSS resets undergo changes over time (Eric Meyer has adapted his reset several times). But resets are more limited in scope. Normalize.css includes things like: consistent `abbr`, `mark`, `svg` styles; improved `font-size` and `font-family` inheritance for forms and pre-formatted text; and fixes for a few IE, WebKit, and Firefox bugs.

Their approaches are different. But I don't think you'll need to update it regularly - just at the start of a project.

[+] iaskwhy|14 years ago|reply
If we assume old browsers won't have new versions and newer browsers will be getting closer to the standard then I don't think you need to keep updating your code. Old simple CSS code usually works great on newer versions.
[+] joshfinnie|14 years ago|reply
Lots of good changes! I like the standard of prompting for installing Chrome Frame for IE6 users. Gives them the option of installing the Chrome Frame or still getting to the content!

And very interested to try out normalize.css...

[+] ozten|14 years ago|reply
I wonder what percentage of people who have enough access to install a plugin into IE6, don't have enough access to install a new browser.

To plenty of corporate machines... this will be an annoying piece of bling.

[+] alwillis|14 years ago|reply
I wish more projects were run like HTML5 Boilerplate. Great job!
[+] andrewheins|14 years ago|reply
They seem to have pulled down the Mobile boilerplate, which is too bad - I was a fan of that.

I wonder if they're implying we should use html5 v2 for mobile now. I know v2 has a "mobile-first" focus...

[+] paulirish|14 years ago|reply
I messed up the deploy, whoops! back up: http://html5boilerplate.com/mobile/

We see a future where these two projects _probably_ merge, but not just yet. I think the mobile-first, one-web community has a little more work to tackle. For now the mobile boilerplate is ideal for mobile-only webapps (like with PhoneGap).

[+] verekia|14 years ago|reply
Awesome! <3
[+] alanh|14 years ago|reply
Welcome to HN. Don’t worry about any downvotes to your first comment, but do keep in mind we tend to discourage comments that don't add anything — sometimes even if they are kind and positive, as your was. Check out the FAQ for more guidelines.
[+] MostAwesomeDude|14 years ago|reply
My first thought when reading this was that maybe my HTML5 boilerplate is too plain. See, mine looks like this:

  <!DOCTYPE html>
Maybe that's too small, but I could have sworn that a big point in HTML5 was that HTML could be a lot looser and have less boilerplate, not more.
[+] pacomerh|14 years ago|reply
here we go again people complaining about the boilerplate having too much stuff. I would rather have this than <!DOCTYPE html> which I already know by memory.

You can always remove stuff as you please. Can you guys accept it as a cool project that saves you time? or does the name "boilerplate" bother you that much.

[+] ErikRogneby|14 years ago|reply
I look forward to using this. Great job!