calc
Calculates property value. You can mix different types of measurement units in the calculation like %, em, cm, in, mm, pc, pt, px, rem.
.my-selector{
width: 100%; /* you can use fallback for the older browsers */
width: calc(100% - 320px);
}
copy