Home › Forums › CSS › RWD: struggle with flexible padding context › Reply To: RWD: struggle with flexible padding context
May 25, 2014 at 2:37 pm
#171062
Participant
A-ha! Thank you, @Atelierbram, it is much clearer for me now.
And as @traq has said, when expressing margins or paddings in percentages one should do it relatively to the element’s parent width.
P.S. BTW, as for percentage padding values the CSS spec says the same: it “refers to width of containing block”.