#3d-graph { display: flex; } .kg-overlay { position: absolute; bottom: 5px; pointer-events: none; width: 100%; text-align: center; left: 0; display: inline-block; background-color: rgba(0,0,0,.6); padding: 5px; } .renderer_label { /*position: absolute;*/ bottom: 5px; width: 100%; /*color: white;*/ /*z-index: 10;*/ /*display: block;*/ text-align: center; }