Override CSS style of parent element without affecting other elements
问题 I'd like to know how to display an element contained within a parent element that has "display:none" characteristics. But leave the other children under that parent untouched. Here's a simple example: <div id="parent"> <p id="item1">Item should show</p> <p id="item2">Item should show</p> <p id="item3">Item should not show</p> <div><!--/parent--> <style> #parent {display: none;} #item3 {display: block !important;} </style> So in this example, I want #item3 to be displayed, but the rest of