title: script to convert css sheet from px to em
body: <p>Anyone know of a script (php, python, perl, bash, whatever) that will convert a stylesheet from px to em?</p>
  
  <p>Like, it would take input of the filename and base font-size (default 16) and convert all px instances to em?</p>
  
  <p>eg:</p>
  
  <p>convertpx2ems --file stylesheet.css --base-font-size 16</p>
  
  <p>would convert this:</p>
  
  <pre><code>button {
      font-size:14px;
      padding:8px 19px 9px;
  }
  </code></pre>
  
  <p>to something like this:</p>
  
  <pre><code>button {
      font-size: .875em;
      padding: .5em 1.188em .563em;
  }
  </code></pre>
  
  <p>...maybe, is there a way to do this with sass?</p>