.contextMenu-cont { position: absolute; display: flex; z-index: 1000; box-shadow: #AAAAAA .2vw .2vw .4vw; } .contextMenu-item { width: 10vw; height: 4vh; background: #DDDDDD; display: flex; justify-content: center; align-items: center; flex-direction: column; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; transition: all .1s; } .contextMenu-item:hover { transition: all .1s; background: #AAAAAA } .contextMenu-description { font-size: 1.5vw; text-align: left; width: 8vw; }