I am working on an Ember.js application and have been attempting to create a sticky footer, but I am encountering some issues.
Here is my HTML setup:
<div class="main-container" id="">
<header> HEADER </header>
<div class="container">
{{outlet}}
</div>
<footer>
footer text
</footer>
</div>
The CSS styles are as follows:
.ember-view {
height: 100%;
}
.main-container {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -40px;
}
footer {
clear: both;
line-height: 40px;
width: 100%;
}
Despite applying the necessary CSS properties, the footer remains stubbornly unresponsive. Any suggestions or insights would be greatly appreciated!
Thank you for your help :)