Home › Forums › CSS › “magic numbers” in CSS › Re: “magic numbers” in CSS
February 8, 2013 at 6:27 am
#123785
Member
Negative margin is a handy property.
However, there are a couple of ways of achieving the overlap you mentioned but they work in different ways.
Negative margin is one and Relative positioning is another. Which one you use will depend on your required layout.
I’ve created a small example to show the principal differences.