.canvas { position: absolute; width: 100%; height: 100%; top: 0; left: 0; overflow: hidden; } ul { display: flex; flex-direction: column; position: absolute; top: 0; right: auto; bottom: 0; left: 0; justify-content: center; margin: 0; padding: 3rem; background: rgba(0,0,0,0.3); opacity: 0.3; transition: all 360ms 120ms ease-out; cursor: pointer; list-style-type: none; &:hover { opacity: 1; } li { display: flex; align-items: center; } }