December 6, 2016 12:45 pm GMT
Original Link: https://css-tricks.com/margin-bottom-margin-top/
margin-bottom or margin-top
I posted a context-less poll on Twitter, just for fun.
ok lets do this
— Chris Coyier (@chriscoyier) December 1, 2016
The implied context, as most CSS nerds could probably suspect, is:
To space elements out vertically from each other, do you generally go for margin-bottom
on the top element, or margin-bottom
on the bottom element?
61% of ~2,000 votes said margin-bottom. I figured it would win, but I didn't suspect so narrowly. The web feels like a push-downy kind …
margin-bottom or margin-top is a post from CSS-Tricks
Original Link: https://css-tricks.com/margin-bottom-margin-top/
Share this article:
Tweet
View Full Article