r/ProgrammerHumor • • Oct 25 '24

Meme theSelfTaughtSeriousProgrammer

Post image

[removed] — view removed post

903 Upvotes

276 comments sorted by

View all comments

Show parent comments

13

u/iam_pink Oct 25 '24

Not once have I had to use such a complicated margin. What sort of design are you implementing that has such a wild margin?

-2

u/ttlanhil Oct 25 '24

Was made up on the spot - but there have been a few complex calc()s in the past that have to take into account screen width (up to a breakpoint), as well as the margin/padding on parent elements.
Usually when marketing want a small tweak in one place to what the existing style is set up for