Hacker News new | ask | show | jobs
by fleeting900 199 days ago
> just like any built-in property would be

Nit: only inherited properties are inherited.

For example color and font-family are, while padding and background-color are not.

One of the special rules you kind of just need to get a feel for that makes CSS a little inscrutable to those who don’t practise it every day.