Hacker News new | past | comments | ask | show | jobs | submit login

I feel us programmers should be open to breaking rules in favor of convenience. I don't see an issue to why you can't use `p:not(:first-child) { margin-top: 12px; }` just because you're using Tailwind (that particular rule gives a margin to every paragraph except the first one which is usually needed in articles). The most productive programmers I have seen frequently disregarded best practices if it suited the situation.



You mean like this supported utility class `[&_p:not(:first-child)]:mt-[12px]`?




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

Search: