border-box css

CSS
#example1 {
  box-sizing: border-box;
}*{
 box-sizing: border-box;
 }
Source

Also in CSS: