CSS- how margins work

Didn't quite realize until now that an element's margin doesn't respect the margins of other elements next to it. Basically, I see them overlapping in Dev Tools. That explains why adjusting padding is not the same as adj margins when you're spacing things out.

Comments

Popular posts from this blog

Code Wars: Delete occurrences of an element if it occurs more than n times (SOLVED 2nd try)

Code Wars: Replace With Alphabet Position