#When your parent element has
display:block;
Your element will be invalid, and only if you delete the display:none; of the parent element, the child element will work.
#When your parent element has
display:block;
Your element will be invalid, and only if you delete the display:none; of the parent element, the child element will work.