An Interest In:
Web News this Week
- April 28, 2024
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
December 30, 2020 03:09 pm GMT
Original Link: https://www.joshwcomeau.com/css/rules-of-margin-collapse/
The Rules of Margin Collapse
Josh Comeau covers the concept of margin collapsing:
This idea might sound simple, but if you’ve been writing CSS for a while, you’ve almost certainly been surprised when margins either don’t collapse, or they collapse in weird and unexpected ways.
…
The post The Rules of Margin Collapse appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter.
Original Link: https://www.joshwcomeau.com/css/rules-of-margin-collapse/
Share this article:
Tweet
View Full Article