css calc width and use for height code example Example: calc css float to procent padding-bottom: calc(100% * 9/21);