|
|
|
|
|
by s17n
1049 days ago
|
|
> I'm telling you that's a terrible, awful idea, because it breaks the fundamental way CSS is supposed to work. The "way CSS is supposed to work" was always a bad idea and is totally unworkable for large projects / teams. Throwing it out and simply inlining all your styles is absolutely the right call. |
|
Inline styles make a lot of sense if you're using webcomponents pervasively, but there's a high up-front cost to doing that because you'll have to either a) define web components for everything you might want to style, including existing elements like <p>, or b) repeat yourself a lot.