Streaming live at 10am (PST)

When is it ok to use Negative Margins?

I’ve heard both - never use negative margins, and I have heard that it’s ok.

What do you guys think?

For those of you who want to know - I think this article pretty much sums it all up in a nutshell.

When you want to move an element outside of its container, without letting a “ghost” space behind. You could transform-move it, but transform don’t affect HTML flow. Negative margins move the element in HTML flow.

That said, I don’t kknow why, but it’s kind of a last resort. if you plan well ahead, you should find solutions for a layout that doesn’t resort on negative margins. That last sentence may or may not be a total idiocy, that’s just the practices I’m witnessing.

ty @vincent … did you see my message about the “e” accent?

Can you post the issue in the forum?

This topic was automatically closed after 60 days. New replies are no longer allowed.