While utilizing Ionic, my code includes the following structure:
<ion-header></ion-header>
<ion-content>
<div *ngFor="let publisher of publishers" class="contentspacing">
<div class="border-div">
<div class="chkbox">
<input type="checkbox" class="chkBoxSize" id="instituteId{{publisher.ID}}" [checked]="publisher.preferenceValue || publisher.isSelected " (click)="capturepublishers($event,publisher.ID, publisher.Name, publisher)" />
</div>
<div class="listName taxonomyTitle">{{publisher.Name}}</div>
</div>
</div>
<footer class="footerContainer">
<strong>Copyright ©, Synger All Rights Reserved</strong>
</footer>
</ion-content>
/* The Footer Css */
.footerContainer {
left: 0;
bottom: 0;
height: 50px;
width: 100%;
overflow: hidden;
padding: 15px;
color: #ffffff;
text-align: center;
border-top: 1px solid #d2d6de;
}
/* The ContentHolder that contain dynamic data */
.contentspacing {
margin-bottom: 100% !important;
}
The content on my website is dynamically displayed across all pages. How can I modify the CSS to ensure that the footer only appears after all the content has been displayed?