5 ms·
Looks good, I've got few questions for you: - Why put respond.js in the footer? (H5BP puts it up in the head with the call to Modernizr) - Why self-close your
by retlehs 15y ago
Looks good, I've got few questions for you:
- Why put respond.js in the footer? (H5BP puts it up in the head with the call to Modernizr)
- Why self-close your meta and link tags if you're using HTML5?
- Why doesn't the image in the demo resize as you resize the window? (img { max-width: 100%; } fixes that)
- thatcoolguy 15y ago1. Respond.js is not in the footer, it is inside the <head> tag. See here: https://github.com/thatcoolguy/gridless-boilerplate/blob/master/index.html https://github.com/thatcoolguy/gridless-boilerplate/blob/mas... 2. HTML5's syntax is not very strict, but I prefer closing void elements because I think it improves readability. 3. I chose not to add any responsive image style by default because of IE problems and Windows' rendering. I'm thinking of adding that soon.
- retlehs 15y agoahh, my bad on #1 - it's early :) The source formatting kinda threw me off with the entire head being tabbed and the empty body, maybe add a little dummy HTML inside the body like the H5BP?