Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
December 6, 2016 12:45 pm GMT

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:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks