I’ve learned how the CSS box system works but now
- when I want to add a width or add a padding to it I wonder what is better to be done earlier? (Assuming I’m not using a “box-sizing: border-box”) I think it makes more sense to first set the padding as it’s part of the box and then set the width, but I’m still confused.
- What if I specified the widths and set the margins and set the positions and finally the page layout is all fine, but then I decide to add a little more padding to one of the elements to make it more appealing but that doesn’t fit with other sizings and the whole layout falls apart?
Thank you all!