DEV Community

Discussion on: How do you structure your css (media queries)?

Collapse
 
vanaf1979 profile image
Stephan Nijman

Hey Kofi,

If you really want to learn Css i would suggest that you stay away from any frameworks for now. Some of them are really great, but they become much more useful if you learn the underlying language first. I know there are a lot of different opinions about this, so please choose your own path, but this is my advise to you! :)

As for your structure question, I personally write my Css going from reset to generics to very specific selectors. Since you are already using Scss there is a very nice write-up here about architecture: sass-guidelin.es/#architecture

One other "resource" i can recommend if you want to learn more is Kevin Powell. He has a Youtube channel and does a lot of live streaming on Twitch. He is a really good instructor: youtube.com/user/KepowOb

Hope this helps you. If you have any more questions don't hesitate to reach out.

Cheers,

Stephan