css calc height other element code example Example: calc css float to procent padding-bottom: calc(100% * 9/21);