:before 100% including padding code example Example: width 100% with padding .content { width: 100%; box-sizing: border-box; }