I\'m trying to use this sticky footer:
http://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/
body{ display: flex; min-height: 100vh;
You need to give the flexbox item a width of 100%.
width
100%
In this case, that would be that .content element:
.content
Updated Example
body { display: flex; min-height: 100vh; flex-direction: column; } .content { flex: 1; } @media only screen and (max-width: 768px) { .content { width: 100%; } }