Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
TJ Nuccio
5,036 PointsBrowser Prefixes: How necessary?
I've run into a bit of confusion surrounding this topic in my quest to achieve knowledge level 9000.
I've read conflicting suggestions regarding whether or not to even implement the use of browser prefixes. The 'against' argument has claimed how they muddy markup and waste valuable time rewriting statements for each prefix; something I think a lot of devs would agree with. Then of course, the 'for' side of the argument has mainly revolved around their necessity.
Bottom line: Can't find a definitive answer on the subject. I've ran HTML/CSS files in browsers without prefixes and (at least what I was running) they'd appear to render properly. Of the other instances of this question that I've seen on Slack weren't exactly definitive either.
Would love some help with this if anyone would care to help me out.
Thanks
1 Answer
Iain Simmons
Treehouse Moderator 32,305 PointsI don't think you'll get a definitive answer for anything related to browser support, since it's an ever-changing environment, and the needs differ a great deal (many big organisations like government departments get stuck using old software and browsers, for instance).
Here's a promising article from CSS-Tricks, quoting from Webkit:
I think it depends on how important it is to you or your users that a particular feature functions or looks the same on different browsers. Also, if it is adding too much time to your development process, you should probably look at automating it somehow (most build tools and pre/post processors have functions for autoprefixing).
Just don't waste too much time worrying about it. It's just one of those things we have to deal with, for now.