Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

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

Share Compare adding padding to elements in CSS to adding fillings to a sandwich; it actually increases the total width. with FacebookShare Compare adding padding to elements in CSS to adding fillings to a sandwich; it actually increases the total width. with Twitter
  • 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.

More about this tip

Tags

  • Meaningful and Relevant Content
  • CSS
External Source

Interview with Corina Acosta

Other Tips By
Other Tips By Corina Acosta

Similar tips

Tie the importance of searching and sorting to internet search engines, then encourage students to create search mechanisms for data they want to analyze.
To show that algorithm design is difficult, have students write algorithms, exchange their work, and then attempt to execute each others instructions.
Use popular, repetitive music to teach loops in a beginning course because this motivates the purpose and application of loops while keeping students engaged by referencing popular culture.

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Powered by Drupal.

Privacy Policy