Rate Tips

Compare adding padding to elements in CSS to adding fillings to a sandwich; it actually increases the total width.

  • When you add ingredients to a sandwich, it won’t stay the same size, it will actually get bigger.
  • The same goes for an element with padding, it actually gets bigger.
External Source

Interview with Corina Acosta