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 trialPaul Jackson
8,943 Pointswebkit 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
Matthew Greenberg
8,173 PointsThe 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);
'''
Paul Jackson
8,943 PointsMore of just an fyi question, for me. Thanks for the prompt response Matthew!