
I am making a sheet configuration box. It has check boxes in it when checked are supposed to display a section in another tab on the character sheet. my HTML and CSS: The area that I am displaying with a checked checkbox: <div class="sheet-groundmove"> <div> "bunch of content here" </div> </div> The checkbox itself: <input type="checkbox" class="sheet-boolean" name="attr_groundmove"/> The CSS: div.sheet-groundmove { display:none; } input.sheet-boolean[type="checkbox"][name="attr_groundmove"]:checked ~ div.sheet-groundmove { display:inline-block; } Can anyone tell me what I have wrong here and what it is supposed to look like?