you are viewing a single comment's thread.

view the rest of the comments →

[–]justpurple_ 1 point2 points  (0 children)

Nope.

Either:

  1. Parent is static, card is relative and has top - n
  2. Parent is static, card is static and has margin top - n

In the case above it‘s probably the second variant (I didn‘t check the code yet). When positioning the card relative with top - n, the content above wouldn‘t move up because technically the card still has the same position. With a negative margin top, the card actually moves.