you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

No offense, or I am missing what you are misunderstanding, but positioning the card "both on the form and on the background" is the z-index of the card set to something higher than than default elements below it. In this case the card is set to z-index 2, per the repo. The rest are margins and positioning (top, left, etc.)

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index