x32x01
  • by x32x01 ||
The rules of margin collapse in CSS mean that vertical margins of adjacent elements can merge into a single margin. This happens between block-level elements and empty children, avoidable with padding or borders
The rules of margin collapse

https://www.joshwcomeau.com/css/rules-of-margin-collapse/
 
Last edited:
Similar Threads
x32x01
Replies
0
Views
317
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
557
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
349
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
505
x32x01
x32x01
x32x01
Replies
0
Views
546
x32x01
x32x01
TAGs: Tags
margin collapse
Register & Login Faster
Forgot your password?
Forum Statistics
Threads
517
Messages
519
Members
52
Latest Member
MrMuhammed
Back
Top