title: How to make button appear on hover when you hover over a whole table row?
body: <p>I'm running into a problem in my HTML code. I am trying to display a button when you hover over a row in a table. Right now the button only displays when you hover near it but I need it to show when you hover over anywhere on that row. Can anyone help explain how to do this?</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>.button {
    opacity: 0;
  }
  
  .button:hover {
    display: inline-block;
    opacity: 1;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table&gt;
    &lt;tr&gt;
      &lt;div class="button"&gt;
        &lt;a href="#"&gt;&lt;/a&gt;
      &lt;/div&gt;
      &lt;td&gt;&lt;img src="/app/images/todo/todos_incomplete_blue.svg" /&gt;&lt;/td&gt;
      &lt;td&gt;Make a To Do List&lt;/td&gt;
      &lt;td&gt;Me Myself and I&lt;/td&gt;
      &lt;td&gt;Whenever I want&lt;/td&gt;
      &lt;td&gt;69%&lt;/td&gt;
      &lt;td&gt;
        &lt;div class="button"&gt;
          &lt;img src="/app/images/master/actions_btn.svg" /&gt;
          &lt;a href="#"&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>