calc(100vh - 70px); code example Example: calc css float to procent padding-bottom: calc(100% * 9/21);