Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, (like C++) new css attributes are constantly added. This means you constantly have to choose between the old way or the new way: either is fine, but “pick old or new at random on a per pull request basis” isn’t.


You seem to assume that old CSS properties can be substituted for new ones. But as I said, to my knowledge this isn’t possible in most cases. Can you give an example of two CSS properties where 'either is fine, but only one should be used'?

Or do you mean something else altogether by 'CSS attributes'?


The specific case that inspired this comment was a random mix of margin and gap




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: