Answer the question
In order to leave comments, you need to log in
How to correctly calculate padding and margin height in fluid layouts?
To calculate the width and height, I use the well-known formula: "context / target = result", but what about padding-margin heights if they are calculated from the width? I want to avoid magic numbers and have formula functions at hand. Thanks
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question