Comments (5)
Some people still use IE6, but this boilerplate doesn't specifically aim to support IE6 by any means. All the polyfills target IE6**-8** and quite a few people still use IE8. In fact, this boilerplate is unique in that it supports people who still develop for those browsers. All polyfills are conditionally loaded so they only download to browsers that actually need them. This makes it a seamless integration.
Why is @import
bad practice? I've never heard of this.
from boy.
@import is bad practice because, in short, you are calling a CSS file which calls another CSS file. This is redundant, why not call directly the intended stylesheet?
Also, IE8 is still being used and it's our job to not target it so that more and more users switch browsers or upgrade.
Even if all polyfills are conditionally loaded, they are still there, contributing to the weight of the project. I'd rather have a lightweight project targeting best practices and modern browsers than a mammoth targeting everything.
But I do understand where you're coming from.
from boy.
- I disagree about the
@import
being a bad practice. 1) It cuts down on HTTP requests to@import
other stylesheets 2) It keeps Normalize.css virgin source for easy updating 3) It doesn't clutterstyle.css
with multiple@import
statements that are effectively doing the same thing. - I don't specifically develop for IE8, and I'm sure most of my sites look atrocious in it, but they'd look even more atrocious if I didn't use this boilerplate. At least this way they get some semblance of the site and it doesn't cost me any extra work to do.
- Maybe https://html5boilerplate.com is a better fit for you. Boy is built off of it so it does all the nice things H5BP does, but also supports older browsers for free. If neither of these projects is exactly what you're looking for, feel free to create your own boilerplate?
- I understand where you're coming from too, but honestly, this is a lighter version of H5BP and it provides a little free support for older browsers without ensuring IE8 lives another 6 years. I guess I just don't agree with your qualms with it.
from boy.
No worries. Great job, anyway.
from boy.
Thanks for the support.
from boy.
Related Issues (20)
- Consider removing html overflow-y: scroll HOT 1
- Fix selectivizr link HOT 1
- Move overflow-y: scroll to body
- html, body { height: 100%; }
- Add vw polyfill HOT 2
- Consider adding transform polyfill HOT 1
- Remove html, body height/scroll rules HOT 2
- Unable to scroll vertically on webpage HOT 3
- Convert to npm package HOT 1
- putting this here for later HOT 1
- Calc polyfill don't work in Media queries HOT 3
- Boy on Bower? HOT 1
- u a paedo m8? HOT 1
- Action required: Greenkeeper could not be activated 🚨
- Jade HOT 7
- overflow-y to body
- Change <!--[if lt IE 10]> to <!--[if IE]> HOT 1
- Go through normalize and override explicit margins
- Hide overflow-x better
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boy.