make sure numbers add up (80% + 2 * 5% padding + 2 * 5% fake margin). If you need a border I suggest you use `box-sizing: border-box`, because it’s hard to make sure mixed percentage and pixel values add up. Then just the width/height and the fake margin need to add up to 100%.
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".