2/14/2023 0 Comments Pug template expressThe purpose of this file is to allow you to customize your TailwindCSS installation. Let's move further, and generate the file. In other words, it makes sure the application looks the same in all browsers. Autoprefixer adds vendor prefixes to CSS rules using the values from Can I Use. Secondly, autoprefixer is a PostCSS plugin as well. As a result, we need a tool to translate the modern CSS into something the browsers can understand. But why do we need it for Tailwind? The reason is that TailwindCSS is a PostCSS plugin. ![]() ![]() Why do we need to add PostCSS and Autoprefixer as well? First of all, PostCSS allows us to "convert modern CSS into something most browsers can understand, determining the polyfills you need based on your targeted browsers or runtime environments". Npm install tailwindcss postcss autoprefixer postcss-cli
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |