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
Jeremy Frimond
14,470 PointsPrefix vs Nonprefix in Multicolumn Layout
If I were to use the -webkit- prefix for multicolumn layout would I also need to include the same code without the prefix to allow for supported browsers to understand or would the non prefix browser still be able to read the code with the webkit? additionally would I need to put additional lines of code in for -moz- fixes.
in the end would I need three lines of code for every one rule i type?
3 Answers
James Barnett
39,199 PointsThe example on css3please.com uses the following syntax ...
-webkit-column-count: 2; -webkit-column-gap: 15px;
-moz-column-count: 2; -moz-column-gap: 15px;
column-count: 2; column-gap: 15px;
Of course, you use prefix free polyfill to solve this for you.
Jeremy Frimond
14,470 PointsGuil Hernandez forgot to tag you
Jeremy Frimond
14,470 Pointsthanks James Barnett