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.

  • 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

In preparing for class, set up at least one lab computer with all the software you expect to use and complete assignments and labs yourself right before your students do them. This lets you see any problems that might arise.
Host group grading sessions to provide opportunities for teaching assistants to interact with each other and avoid falling behind in grading.
Break the habit of telling kids they’re smart, keep a running list of comments that promote a growth mindset on hand to praise things your students can control.

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

Privacy Policy