title: How to target elements with a specific data attribute with Tailwind CSS?
body: <p>I have several message boxes and each box has a data-author attribute.</p>
  <p>If I want to apply styles to these message boxes in CSS, I can just do:</p>
  <pre><code>[data-author=&quot;Ben&quot;] {
    background-color: blue;
  }
  </code></pre>
  <p>But I'm not sure how to do this with Tailwind CSS or whether it's even possible. Any idea?</p>
  <p>Thanks</p>