I'm trying to figure out how to effect a parent class that has a particular child. As far as I can tell this is not possible with CSS3, but it might be possible with jQuery.
Here is the parent class .home .x-navbar
Here is the child class.x-btn-navbar
CSS I want to add to the parent class:
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%,rgba(0, 0, 0, 0.8) 50%,rgba(0, 0, 0, 0.8) 100%) !important;
background: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%,rgba(0, 0, 0, 0.37) 50%,rgba(0, 0, 0, 0) 100%) !important;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%,rgba(0, 0, 0, 0.8) 50%,rgba(0, 0, 0, 0.8) 100%) !important;
What jQuery code would I need to achieve effecting a parent classes css when it has a specific child?