In different parts of the design specs, the term "padding" is used to describe the space around an element. This is confusing when implementing the spec in CSS, as "margin" is the term used to describe that space. I made a mistake, until I realized what it was referring to, and saw another implementation by someone else that made the same mistake.
In different parts of the design specs, the term "padding" is used to describe the space around an element. This is confusing when implementing the spec in CSS, as "margin" is the term used to describe that space. I made a mistake, until I realized what it was referring to, and saw another implementation by someone else that made the same mistake.
e.g. https://design.firefox.com/photon/components/radio-buttons.html