3 ms·
another one not on the list is that any padding specified in % is always % of width. though this oddity/hack allows to responsively & proportionally scale imag
by leeoniya 11y ago
another one not on the list is that any padding specified in % is always % of width.
though this oddity/hack allows to responsively & proportionally scale images and backgrounds.
- kagamine 11y agoHonest question, what else could it be a %age of? Or should % not be an allowed unit of measurement of width?
- IgorPartola 11y agoHeight?
- kagamine 11y agoOh, right I see now, padding-top: 5%; is a %age of the width, not the height of the element. Yes, that makes little sense.