I have a many divs with one more inputs and I am trying to style them. The divs are popups and are classed from general to specific as popups, the type of popup, dropdownlist in this case, then the dropdown type, MS (marital status) in this case. Each level of distinction requires specific additional styling.
<div id="ea-MSPopup" class="ea-popup ea-dropdownlist ea-MSPopup" style="display:none;">
<input type="text"/>
<input type="text"/>
</div>
I have this CSS:
.ea-popup {border: 0; background-color: Yellow;}
.ea-dropdownlist input { border: 0; background: Yellow;}
.ea-MSPopup /* not applied */ { width:65px; height: 40px; }
.ea-MSPopup input /* not applied */ { width:65px; }
The .ea-MSPopup and .ea-MSPopup input are not being applied. If I add an id like this it works but I don't want to use id's:
#ea-MSPopup /* applied */ { width:65px; height: 40px; }
#ea-MSPopup input /* applied */ { width:65px; }
I tried also this:
.ea-popup.ea-dropdonlist.ea-MSPopup /* not applied */ { width:65px; height: 40px; }
.ea-popup.ea-dropdownlist.ea-MSPopup input /* not applied */ { width:65px; }
Which I had thought should brute force it but it does not.
While I would like to know how to do this specific case more so could someone provide an explanation or point me to a readable resource that clears up what I'm sure you know I'm am not seeing...