Forum

boostrap 5 / sticky...
 
Notifications
Clear all

boostrap 5 / sticky footer, always bottom even with small content

1 Posty
1 Users
0 Likes
361 Widok
0
Topic starter

example

1 Answer
0
Topic starter

working and tested code with mdb boostrap

  <div class="min-vh-100 d-flex flex-column 
                justify-content-between">
     
         <div> <!-- Wrapper (Without footer) -->
       
            <header>
             I am a header.
            </header>
      
            <article>
            I am an article!
            </article>
       
        </div> <!-- End: Wrapper (Without footer) -->
     
     
         <footer>
         I am a footer.
         </footer>
     
    </div>

source: https://stackoverflow.com/a/68836851/282234

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: