Add "display" property to elements