Not sure if the title is really clear.
What I try to do is to select a webkit pseudo element (inside shadow dom) with a :nth-of-type
pseudo class.
So I want to select the second -webkit-datetime-edit-text
pseudo element in an input
.
I thought that I could do it like this:
::-webkit-datetime-edit-text:nth-of-type(2){
display: none;
}
But this doesn't work.
Is there a way to do this?
Help would be greatly appreciated.
ps: For those who aren't aware of the possibility to inspect the shadow dom see here point nr 12.