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 trialFedor Andreev
6,438 PointsWhat is the main difference between Unprefixed Syntax and Prefixed Syntax?
Just wondering..
2 Answers
Paul Mather
3,313 PointsAn example of prefixed syntax is -moz-border-radius
, which is a vendor specific prefix for earlier Mozilla Firefox versions that don't support un-prefixed syntax i.e. border-radius
. Basically prefixed syntax supports earlier versions of the respective browser the code is targetting - -webkit-
targets earlier versions of webkit browsers that don't support their unprefixed counterparts.
Brandon Miller
6,818 PointsSo, "prefixed" is "vendor-specific"? Is that right? And un-prefixed is more loosely defined, yet may not be supported by all browsers?