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 Unused CSS Stages Flexbox and Multi-Column Layout Multi-Column Layout

2 Answers

James Barnett
James Barnett
39,199 Points

-webkit is a vendor prefix it refers to CSS property that only works in Chrome, Safari, Android (and recently Opera) browsers.

You can read all about vendor prefixes here: http://webdesign.about.com/od/css/a/css-vendor-prefixes.htm

-webkit is a "vendor prefix" for the webkit based browsers. It is prefixed before a CSS property that hasn't been fully accepted by all browsers. For example, -webkit-transform property is used for the new 3D transform functionality being made available via CSS. "Vendor prefixes" are also available for microsoft (-ms), mozilla firefox (-mozilla) and others. A good resource for determining if a vendor prefix is needed is http://caniuse.com

Hope this helps.