3 ms·
Could you please elaborate a bit more on how a class "padding:10" is better than just adding an inline style "padding:10px"?
by elaus 11y ago
Could you please elaborate a bit more on how a class "padding:10" is better than just adding an inline style "padding:10px"?
- zamalek 11y agoI'd presume because you can do browser-specific hacks/normalization with classes but not inline styles. I don't really see the point of all of this, either, though. Maybe it's satire?
- peterchon 11y agoHi, thanks for taking a look. I don't think it's a "better" way, I wanted to explore another way of adding quick styles without having to come up with a class name.