@ianbrdeguzmanSubmitted over 3 years ago
Hello 🖐!
Please forgive my CSS/SCSS code, I know its a mess. Let me know how to improve it.
Hello 🖐!
Please forgive my CSS/SCSS code, I know its a mess. Let me know how to improve it.
Hey Ian, I like your solution!
To clean up your scss you may consider the BEM-naming-convention (https://css-tricks.com/bem-101/) and give your div's class names, so you can spot them more quickly in your code.
With scss you can nest your media-queries inside the elements so you don't need a extra media-query-block at the end of your code, which is more DRY(don't repeat yourself) and less confusing.
What I like a lot is seperating scss files e.g. for variables and mixins or helper classes like flexbox properties...
enjoy coding!