title: Use pseudo classes for selecting webkit pseudo elements
body: <p>Not sure if the title is really clear.</p>
  
  <p>What I try to do is to select a webkit pseudo element (inside shadow dom) with a <code>:nth-of-type</code> pseudo class.</p>
  
  <p>So I want to select the second <code>-webkit-datetime-edit-text</code> pseudo element in an <code>input</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/FBqXu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FBqXu.png" alt="enter image description here"></a></p>
  
  <p>I thought that I could do it like this:</p>
  
  <pre><code>::-webkit-datetime-edit-text:nth-of-type(2){
    display: none;
  }
  </code></pre>
  
  <p>But this doesn't work.</p>
  
  <p>Is there a way to do this?</p>
  
  <p>Help would be greatly appreciated.</p>
  
  <p>ps: For those who aren't aware of the possibility to inspect the shadow dom see <a href="http://tutorialzine.com/2015/03/15-must-know-chrome-devtools-tips-tricks/" rel="nofollow noreferrer">here point nr 12</a>.</p>