Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Introduction to PostCSS!
You have completed Introduction to PostCSS!
Preview
Learn how to use Autoprefixer, a popular PostCSS plugin that adds vendor prefixes to your CSS.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
A popular plugin that adds
vendor prefixes to CSS rules.
0:00
Normally, you'd NPN install auto
prefixer as a dev dependency.
0:00
Add it to your gulp file and
run it like any other plugin.
0:05
However, if you have the CSS next
plugin pack installed, like we do.
0:08
It already comes with auto prefixer.
0:13
Auto prefixer uses up to date browser
support data from canIuse.com.
0:16
To add only necessary vendor prefixes
to your CSS, so you don't have to.
0:21
For example, developers usually
write vendor prefixes for flexbox.
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up