title: PurgeCSS and Tailwind CSS, how to preserve responsive classes using the Command Line Interface?
body: <p>I have the &quot;full&quot; 3.9 MB Tailwind CSS file and successfully applied PurgeCSS to reduce it to 9 kB. But it also purged all responsive classes like <code>md:px-6</code>, they don't show up in my purged version.</p>
  <p>Note: this question is for using the command line interface (CLI)</p>
  <p>This is what I did:</p>
  <p><code>purgecss --css ~/Desktop/Projects/Flask/Project1/build/static/css/main.css --content ~/Desktop/Projects/Flask//Project1/build/**/*.html --output ~/Desktop/Projects/Flask/Project2/static/css/main.css</code></p>
  <p>I chose to create the output file in a different folder (<code>Project2</code>) so that I could check on the input vs output.</p>
  <p>One thing I tried is to add  <code>--safelist [/md/]</code>, but didn't help. In fact the safelist didn't seem to be used at all...</p>
  <p>(I use CLI since it is part of a bigger Python Flask project)</p>