body { overflow: hidden; } div { position: absolute; } .button { background: black; color: white; text-align: center; line-height: 50px; } .slider { background: blue; border-radius: 10000px; } textarea { position: absolute; top: 20px; left: 106px; width: 200px; height: 100px; z-index: 100; border: none; resize: none; background: black; color: white; }