.menu { display: flex; flex-direction: column; list-style: none; width: 350px; height: 100vh; background-color: #f2f2f2; align-items: center; justify-content: center; } .menu li { width: 350px; line-height: 100px; text-align: center; border-top: #949494 1px solid; cursor: pointer; } .menu > li:first-child { border-top: none; } .menu > li:hover { background-color: #e6e6e6; } .logo { position: absolute; top: 20px; left: 20px; font-size: 48px; cursor: pointer; } .content { display: flex; flex-direction: column; width: 100%; height: 100vh; }