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

CSS

Automatically writing vendor prefiixes

As I've noticed for transition videos and others, Guil highlights his text and uses some sort of key combo to automatically generate vendor prefixes. You can see it at the end of the "2D Transforms" video within CSS foundations. If it's an editor feature, what editor is it? If it's an addon, where can I find it? Or is he just copy pasting it from somewhere else? I'm just curious since I struggle a bit with the code necessary to write that every time I want to use something that requires -webkit or whatever.

2 Answers

I think what you are thinking of is the Sublime Text plugin prefixr. There's also prefixfree.js it does the same thing at runtime with the magic of JavaScript. Finally you can cut & paste your code into http://prefixmycss.com/.

Emmet plugin also adds all vendor prefixes when you type transition then press (ctrl+e) for instance. Emmet is my best friend :0

Alright, thank you very much Adam and James.