HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by marcofatica | Hacker News Reader
Full thread
marcofatica
·
Isn't this just padding with extra steps?
View on HN
JellyBeanThief
·
No, because the `container` element uses `margin` and not `padding`. This results in margin behavior, where two adjacent containers with `margin: 10px` will have only 10px between them instead of 20 like with padding.
Reply on news.ycombinator.com