Hamza L. Hamza L. - 2 months ago 15
CSS Question

Can't target this child

I want to target the class

has-translucent-status-bar
which is located inside another class named
platform-ios


For that I've tried to do:

.platform-ios > .has-translucent-status-bar


So far, I was not lucky enough to do so, here is a screenshot of the code:

enter image description here

Answer

This should do the work:

.platform-android > ion-app > ion-nav > ion-page > ion-header.has-translucent-status-bar
Comments