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