Draw border on the inside of an element

The element will not be composed of the (width value) + (padding value) +(border width value) but rather the value declared for css width property itself.

   -moz-box-sizing:    border-box;
   -webkit-box-sizing: border-box;
    box-sizing:        border-box;


Pro and cons of the use of border-box


Leave a Reply

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