body { background-color: #262930; align-items: center; justify-content: center; background-repeat: repeat; background-size: 3.5%; } .navsite_list{ display: flex; flex-direction: row; } .navpage_list{ display: none; flex-direction: column; } .navsite_list:hover .navsite_list{ display: flex !important; }