My website has a footer positioned at the bottom of the page. The HTML and CSS for this footer are as follows:
<style>
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
#footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
background-color: #e7e7e7;
}
</style>
<div id="footer">
<div class="container col-md-3 text-center">
<p class="text-muted">© 2015, LuMa</p>
</div>
<div class="container col-md-6"></div>
<div class="container col-md-3 text-center">
<p><a href="/terms">Terms</a> & <a href="/privacy">Privacy</a></p>
</div>
</div>
The desktop version looks great, but on mobile devices there is a line break in the footer:
While it's not a big issue, I would like to know how I can make my footer larger specifically for mobile devices. I am not very experienced with CSS, but I have heard that different styles can be applied based on device size. Can anyone provide me with some guidance?