title: How to make a button like link with hover effects?
body: <p>How can I make the color of the text turn to black not only when I move the mouse cursor to the text, but also when the cursor enters the whole button area?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.button {
    text-align: center;
    font-size: 1.5em;
    margin: 0 auto;
    width: 15%;
    padding: 8px;
    border: 2px solid;
    border-color: #e7dd84;
    background-color: rgba(236, 229, 167, 0.2);
    transition: 0.35s;
  }
  .button a, active {
    text-decoration: none;
    color: #e7dd84;
  }
  .button a:hover {
    text-decoration: none;
    color: black;
  }
  .button:hover {
    color: black;
    background-color: white;
    border-color: white;
    transition: 0.35s;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="button"&gt;
    &lt;a href="first.html"&gt;Go to site&lt;/a&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>