Skip to content

Instantly share code, notes, and snippets.

@IgorGavrilenko
Created January 13, 2022 15:02
Show Gist options
  • Save IgorGavrilenko/fc58ada3daf18b82c2512cf8571eb652 to your computer and use it in GitHub Desktop.
Save IgorGavrilenko/fc58ada3daf18b82c2512cf8571eb652 to your computer and use it in GitHub Desktop.
прижатый подвал
html{
height: 100%;
}
body{
display: flex;
flex-direction: column;
height: 100%;
}
.header{
flex: 0 0 auto;
}
.main-content{
flex: 1 0 auto;
}
.footer{
flex: 0 0 auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment