Make absolute child full length inside a scrollable container
You need to wrap the text in a div element and include the absolutely positioned element inside of it. <div class=”container”> <div class=”inner”> <div class=”full-height”></div> [Your text here] </div> </div> Css: .inner: { position: relative; height: auto; } .full-height: { height: 100%; } Setting the inner div’s position to relative makes the absolutely position elements … Read more