html - NTH-child not working properly -
On some elements I can use the NTH-hair selector, which is the element of a second level (basic> child; The child has got a 3rd level element (guardian & gt; child & gt; child) which triggers different triggers with selectors, it triggers only all those or anyone.
Firstly, you should only use the id once in html. If you have a problem, you do not want a class ID, you have only one inferior block block in your block, instead you can use the inbox: nth-child (1) in the block.
section #top.black.black block {background: #did! Important;}
update: if you want to change. Seperatly block for eatch block : Nth-child (1). Cute Block {background: #ddd! Important;}
Comments
Post a Comment