title: Border is not applied correctly when applying :focus to a input
body: <p>I have an input with a defined border and background color. I apply a transition for the :focus selector which works fine except that the border becomes inner.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>input {
    border: solid 3px black;
    background-color: red;
    margin-bottom: 20px;
    transition-property: color, background-color, transform;
    transition-duration: 2s;
  }
  
  input:focus {
    color: white;
    background-color: blue;
    transform: scale(1.5) translate(27px, 0);
    margin-top: 10px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form method="get"&gt;
    &lt;label for="name"&gt;Name:&lt;/label&gt;&lt;br&gt;
    &lt;input type="text" id="name"&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I guess the problem is the scale() function. How can I make the border to be outside when clicking on the input, as usual.</p>
  <p>Thanks</p>