DEV Community

Discussion on: I front-end and hate CSS. Here's how I deal with it

Collapse
 
frontendtony profile image
Anthony Oyathelemhi

Whew! Where do I begin!?

I've read a lot of comments on this, both positive and negative. The problem here is NOT your inability to write CSS (you still write CSS with Styled Components), it's that you want to see the structure (and styling) of the page once you look at the file.

But like everyone has pointed out, you're going about this in a wrong way. I'll like to suggest a much better way to deal with your CSS hate, Utility-first CSS. Checkout tailwind css

The benefit of this is that, you immediately get a sense of the style of your page without opening the CSS file. You can use this with SC (I'm doing exactly this right now).

It'll take you just a few hours to get used to this I promise.

Collapse
 
fly profile image
joon • Edited

you want to see the structure (and styling) of the page once you look at the file
Wow, I never realized it myself, but I think that this was the (real) reason why I structured my styled-components so un-semantically. Nice catch!

Checkout tailwind css
I have seen several posts regarding tailwind CSS but never imagined I'd be needing it.... alas maybe the time is ripe...

you immediately get a sense of the style of your page without opening the CSS file. You can use this with SC
OK, if it does exactly what you say here, I'm instantly hooked. I will definitely try it out. Thanks so much for the recommendation.

Wow, I did not expect another novel, constructive and directly-helpful comment that didn't just widen my perspective regarding the matter - but actual advice that I'm considering using.
Thank you beyond words, I greatly appreciate the recommendation.

Collapse
 
frontendtony profile image
Anthony Oyathelemhi

You're welcome Joon. Glad I could help

Some comments have been hidden by the post's author - find out more