Basic footer layout
This commit is contained in:
parent
67506d28bf
commit
cd861dd437
@ -22,8 +22,8 @@
|
||||
<ng-view></ng-view>
|
||||
</div>
|
||||
<ng-include src="'views/sidebar.html'"></ng-include>
|
||||
<ng-include src="'views/footer.html'"></ng-include>
|
||||
</div>
|
||||
<ng-include src="'views/footer.html'"></ng-include>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -33,7 +33,7 @@ a
|
||||
position: relative;
|
||||
|
||||
width: 800px;
|
||||
min-height: calc(100vh - 120px);
|
||||
min-height: calc(100vh - 116px - 100px);
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
padding-top: 100px;
|
||||
@ -125,11 +125,20 @@ a
|
||||
|
||||
.footerContainer
|
||||
{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.centreFooterContainer
|
||||
{
|
||||
width: calc(800px - 20px);
|
||||
height: 100%;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
padding: 10px;
|
||||
|
||||
color: #fff;
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.sidebar
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
<div class="footerContainer">
|
||||
Footer
|
||||
<div class="centreFooterContainer">
|
||||
Footer
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user