Comment

Comment by fleeting900

> 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.

parent fleeting900 11 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton