No this isn’t possible. display:none
hides the element, and thus any child elements will not be displayed.
EDIT:
This might be along the lines of what you want, if you’re able to switch from using display
to visibility
.
.hide {visibility: hidden;}
.reshow {visibility: visible;}
Using this method you can hide the contents of the parent element but show the specific <li>
you want. The only caveat is the parent markup will still take up screen real estate. Just won’t be shown to the user. That may or may not break the layout you’re looking for.