3 ms·main { min-height: cal(100% - header height - footer height) }by tomcooks 7y agomain { min-height: cal(100% - header height - footer height) }uallo 7y agoHeader/footer height is (most) often not fixed but changes depending on your screen size.deleted 7y ago[deleted]tomcooks 7y agoNot necessarily true, and in that case you'd just have to update min-height to the new header/footer sizes. Still wouldn't downvote