Pure CSS Tree Menu
ul elements are placed right after the
input elements (which are placed right after the
labels) and then the
ul is easily targetted in the CSS using the next sibling selector which is
+ along with the CSS3
:checked selector (that helps us to open the different folders/tree nodes). The CSS Code is really small which is quite amazing!