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 trialOllie _
5,394 PointsIs it necessary to use the -webkit and -moz anymore.
Confused on whether we still have to use all the annoying -webkit stuff. If not can someone show me an example on how to do it well?
6 Answers
Dustin Matlock
33,856 PointsAutoprefixer is a postprocessor. Look into preprocessors, and if you're on a Mac CodeKit.
Jason Founts
Courses Plus Student 14,384 Points+1 for Autoprefixer Dustin.
I can't recommend "Grunt" enough for helping out with prefixes. Grunt is something you might want to look into as you can have it run Autoprefixer on your CSS. If not now, later when you want to level up.
Dustin Matlock
33,856 PointsIt really depends but a great place to find out is Can I use.
Ollie _
5,394 PointsAhh I see so its available on all major browsers excluding safari. So how would I use it if one day safari approves flex boxes? Would I just not use the -webkit? Sorry, but I'm not sure on how this all works.
Dustin Matlock
33,856 PointsOne solution is Autoprefixer.
Ollie _
5,394 PointsHow do I install that?
James Barnett
39,199 PointsI'm a prefix free person myself, it's simpler to use.
Ollie _
5,394 Pointsthanks
Dustin Matlock
33,856 PointsNo problem. Treehouse has a Compass deep dive coming out this month actually.
Kevin Korte
28,149 PointsYep, Autoprefixer FTW!!