
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@tailwindcss/cli
Advanced tools
A utility-first CSS framework for rapidly building custom user interfaces.
@tailwindcss/cli is a command-line interface tool for Tailwind CSS, a utility-first CSS framework. It allows developers to compile Tailwind CSS from source, watch for changes, and optimize the output for production.
Compile Tailwind CSS
This command compiles the Tailwind CSS from the source file 'styles.css' and outputs the compiled CSS to 'output.css'. It is useful for generating the CSS needed for a project using Tailwind's utility classes.
npx tailwindcss build styles.css -o output.css
Watch for Changes
This command watches for changes in the source CSS file and automatically recompiles the Tailwind CSS whenever a change is detected. This is useful during development to ensure that the latest styles are always applied.
npx tailwindcss build styles.css -o output.css --watch
Optimize for Production
This command compiles and minifies the Tailwind CSS for production use. It reduces the file size by removing unnecessary whitespace and comments, making it more efficient for deployment.
npx tailwindcss build styles.css -o output.css --minify
postcss-cli is a command-line tool for processing CSS with PostCSS plugins. It can be used to compile Tailwind CSS by integrating the Tailwind CSS PostCSS plugin. Compared to @tailwindcss/cli, postcss-cli offers more flexibility as it can be used with a variety of PostCSS plugins, not just Tailwind CSS.
Gulp is a toolkit for automating tasks in the development workflow. It can be configured to compile Tailwind CSS using the Tailwind CSS PostCSS plugin. While @tailwindcss/cli is specifically designed for Tailwind CSS, Gulp provides a more general-purpose task automation solution that can handle a wide range of tasks beyond CSS compilation.
Webpack is a module bundler that can be configured to process and bundle CSS files, including those using Tailwind CSS. By using the appropriate loaders and plugins, Webpack can compile Tailwind CSS as part of a larger build process. Unlike @tailwindcss/cli, Webpack is a comprehensive tool for managing assets and dependencies in web applications.
A utility-first CSS framework for rapidly building custom user interfaces.
For full documentation, visit tailwindcss.com.
For help, discussion about best practices, or feature ideas:
Discuss Tailwind CSS on GitHub
If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.
[4.1.13] - 2025-09-03
visibility
when using transition
(#18795)matchVariant
values (#18798)clip
with clip-path
in sr-only
(#18769)matchUtilities
(#18820).vercel
folders by default (can be overridden by @source …
rules) (#18855)@-
to be invalid (e.g. @-2xl:flex
) (#18869)-
or _
(#18867, #18872)aria
theme keys to @custom-variant
(#18815)data
theme keys to @custom-variant
(#18816)supports
theme keys to @custom-variant
(#18817)FAQs
A utility-first CSS framework for rapidly building custom user interfaces.
We found that @tailwindcss/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.