html - div height and overflow -


on template: gym

if add add more text under welcome title, form lowered down , disappears (class .home has overflow: hidden).

if make visible on section under it. want div's height modified depending on text add, show content , start other section (w/o scroll div -> overflow: scroll)

thanks!

make form position:relative; , carousel position:absolute; (with positioning).

this make sure height adjust, still allow carousel flow in background.

edit (this used):

.home form {   background-color: rgba(0,0,0,0.3);   height: 100%;   padding-top: 150px;   position: relative;   width: 100%;   z-index: 90; }  .carousel {   position: absolute;   top: 90px;   left: 0;   width: 100%; } 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -