Open in app
Spyros Argalias
165 Followers
About

Sign in

165 Followers
About
Open in app
Use try to use margin top only
3
1

Jianyuan Chen

Spyros Argalias

Spyros Argalias

Jan 18, 2019·1 min read

That’s one way to overcome margin-collapsing yeah :). Margin-bottom is okay to use as well, there are pros and cons for each.

Written by

Spyros Argalias

Web developer — https://www.sargalias.com. Specialising in front end development. I love programming and strive to be the best software developer I can be.

More from Spyros Argalias

Web developer — https://www.sargalias.com. Specialising in front end development. I love programming and strive to be the best software developer I can be.

More From Medium

Layout in CSS

Spyros Argalias in Crowdbotics

Why you should use semantic naming in CSS

Spyros Argalias in Level Up Coding

The Top 5 CSS Gotchas, and a few bonus…

Spyros Argalias

Object-Oriented Programming is The Biggest Mistake of Computer Science

Ilya Suzdalnitski

You Are Being Lied to About Inflation. It Hasn’t Been 2% for 30 Years (Here’s Proof).

Tim Denning in The Ascent

Here Is the Real Reason Why Photos Are Banned in the Sistine Chapel

Jason Ward in ILLUMINATION-Curated

The Easiest Way To Get Rich With Stocks

Rocco Pendola in Making of a Millionaire

Now Is the Perfect Time to Ruin Donald Trump’s Life

Michael Arceneaux in LEVEL

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store