Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
kylemh
· 4y ago · 0 comments
No, it doesn't. Margin may not affect the width and height of the element with `box-sizing: border-box`, but margin still breaks encapsulation and reusability of the component. You make layout assumptions by applying margin to a component.
Comments
No comments yet.
Better HN