css width 100 minus parent padding code example Example: width 100% with padding .content { width: 100%; box-sizing: border-box; }