title: Target element with non-empty attribute
body: <p>I want to style my input field but somehow I have to detect if this input has placeholder attribute and if is actually filled. I would like to avoid JS stuff to do it, so my question is: Is there any css trick so i can target this specific selector?</p>
  
  <p>Currently i have:</p>
  
  <pre><code>&lt;input type="text" placeholder=""&gt;
  
  input[placeholder] {
   // my styles
  }
  </code></pre>
  
  <p>but this applies styles anyway. Thanks for your help.</p>