.hotbar { border: 2px solid #999999; box-sizing: border-box; display: inline-block; left: 135px; line-height: 0; position: absolute; top: 20px; } .slotWrapper { border: 2px solid #999999; box-sizing: border-box; display: inline-block; line-height: 0; &.active { border-color: yellow; } &:hover { background-color: rgba(0, 0, 0, 0.1); cursor: pointer; } }