title: How to make HTML buttons responsive
body: <p>Here is the code for a basic website I'm making. I'm doing it for a school project.</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>.html-button {
    font-family: 'Hammersmith One', sans-serif;
    font-size: 20px;
    color: white;
    position: absolute;
    top: 55%;
    left: 45%;
    text-align: center;
    -webkit-transform: translate3d(-50%, -50%, 0);
    -o-transform: translate3d(-50%, -50%, 0);
    -webkit-border-radius: 8;
    border-radius: 8px;
    font-size: 21px;
    background: #42A5F6;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    -webkit-transition-duration: 0.7s;
    /* Safari */
    transition-duration: 0.7s;
    border: none;
    cursor: pointer;
  }
  .html-button:hover {
    background: #0090FF;
    text-decoration: none;
    color: black;
  }
  .css-button {
    font-family: 'Hammersmith One', sans-serif;
    font-size: 20px;
    color: white;
    position: absolute;
    top: 55%;
    left: 55.3%;
    text-align: center;
    -webkit-transform: translate3d(-50%, -50%, 0);
    -o-transform: translate3d(-50%, -50%, 0);
    -webkit-border-radius: 8;
    border-radius: 8px;
    font-size: 21px;
    background: #42A5F6;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    -webkit-transition-duration: 0.7s;
    /* Safari */
    transition-duration: 0.7s;
    border: none;
    cursor: pointer;
  }
  .css-button:hover {
    background: #0090FF;
    text-decoration: none;
    color: black;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;button class="html-button" role="button"&gt;VIEW HTML&lt;/button&gt;
  &lt;button class="css-button" role="button"&gt;VIEW CSS&lt;/button&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>That is not my entire code, but that's the main part that I'm focusing on here. This will display 2 separate buttons (decorated with CSS), on my screen, they are the perfect length apart, however currently, when I make my browser smaller, the buttons push closer together as it gets smaller, how might I prevent this?</p>