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 Flexbox: Part 1

webkit and other prefixes...

Once the browsers are updated to allow flexbox and other new tools to work without a vendor prefix, will I have to go through and delete all the prefixes to make my code work the way it should? Might be a common sense question... but it seems like that would be counter-productive to make me go back and delete all the prefixes to make it work the same.

2 Answers

The prefixes can remain on the page. Since css reads top to bottom, the bottom style will override any that match it above so its a good idea to put the non-prefixed element at the bottom. Like this. '''

-webkit-transform: rotate(7deg); -moz-transform: rotate(7deg); -o-transform: rotate(7deg); transform: rotate(7deg);

'''

More of just an fyi question, for me. Thanks for the prompt response Matthew!