-
Box Model Rendering | 100% width including padding and borders
While working on a new website I added an enquiry form. The form needed to be responsive, so I set the input fields to 100%. However, padding is added to the width, meaning if your padding-left is 10px, your form width will be 100%+10px… and if you have a 1px border… that’s added on too.…