Skip to content
Snippets Groups Projects
Commit 9c018dc9 authored by Wissem BENSIDHOUM's avatar Wissem BENSIDHOUM
Browse files

stick footer to bottom

parent da31fee0
No related branches found
No related tags found
No related merge requests found
<div class="body">
<nav class="navbar navbar-expand-lg navbar-light d-flex align-items-center"> <nav class="navbar navbar-expand-lg navbar-light d-flex align-items-center">
<img class="logo" src="/assets/takicine.png"/> <img class="logo" src="/assets/takicine.png"/>
<a class="navbar-brand" [routerLink]="['/']">Accueil</a> <a class="navbar-brand" [routerLink]="['/']">Accueil</a>
...@@ -7,11 +9,13 @@ ...@@ -7,11 +9,13 @@
</nav> </nav>
<router-outlet></router-outlet> <router-outlet></router-outlet>
</div>
<!-- Footer --> <!-- Footer -->
<footer class="bg-dark text-center text-white"> <footer class="bg-dark text-center text-white mt-auto" style=" position: relative;
bottom: 0;
width: 100%;">
<!-- Grid container --> <!-- Grid container -->
<div class="container p-4"> <div class="container p-4">
<!-- Section: Social media --> <!-- Section: Social media -->
......
.body {
min-height: 67.9vh;
}
.logo { .logo {
max-width: 400px; max-width: 400px;
...@@ -20,6 +24,4 @@ nav { ...@@ -20,6 +24,4 @@ nav {
} }
footer{
margin-top: 40px;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment