top | item 47031103

(no title)

nilslindemann | 14 days ago

Why can you use CSS conventions in only one project?

discuss

order

manuelmoreale|14 days ago

He wrote "learn your CSS conventions" which implies that every team and every project will have a different set of conventions. Hidden inside that statement is the fact that he just accepted that Tailwind should be THE CSS convention, something I personally disagree with but to each their own.

namuol|13 days ago

No. Tailwind is a way of writing css, not a convention. By “your” convention I’m referring to the problems with the cascade, ie naming classes and so on. I’m not saying tailwind is the only other way. There are many ways to write CSS but doing it with something bespoke for your situation is usually a bad idea.

namuol|13 days ago

You can try to rely on conventions across projects, sure. It doesn’t work well.

UqWBcuFx6NV4r|14 days ago

Can we all just drop words out of comments that we reply to if it makes it easier to make our point?