© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Brandon
Frontend Developer
My usual strategies:
Either
Put padding on the wrapper instead of margin on the child
Or
Only ever apply vertical margins to one side (ie only on the bottom of an object so you can't get top + bottom interference of two objects)