Calculate width with CSS

CSS 3 has a new method calc(), which gives you possibility to align elements. You can mix proportions and fixed measures.

width: calc(100% – 40px);

Leave a Reply

Your email address will not be published. Required fields are marked *