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!
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.
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 ?
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.
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.
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!
IIRC the new version of Chrome Frame does not require Admin access any more. I think it runs a secondary process that injects Chrome Frame into any new instances of IE starting up.
Amazingly, it goes one further — reloading any pages that were already open before the Chrome Frame installer ran is sufficient to get the CF goodness on those pages!
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).
I find it rather straightforward to modify H5BP into a responsive design, anyway. When the time comes for mobile-only to die, it's not going to be a difficult transition. No rush.
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.
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.
I think it saves some people some time. This looks like too much stuff for me. I was really complaining more about the usage of "HTML5". It feels buzzwordy. Maybe I've just been away from serious web development for too long, but this entire site feels like too much stuff.
Apart from some of the opinionated "you should be doing it this way" stuff, if your not using a lot of this your probably providing a sub optimal experience for someone somewhere using an old browser. I guess it depends how much you care about backwards compatibility over just building for the latest and greatest, each project will be at a different point on the scale of what they need to support.
Initializr is a little more bare-bones, you can create your own package and customize it a little on their site already. It's based on the HTML5 Boilerplate but haven't got as much stuff in there. I use it all the time. http://www.initializr.com/