Frontend header dropdown CSS and JavaScript