Design comparison
SolutionDesign
Solution retrospective
Is there any preferred way that I organize sections of my css? also any general best practices tips are greatly appreciated!
Community feedback
- @Ging3rmintPosted over 2 years ago
It looks like you need more practise with CSS. here are some tips
-
never set a fixed height to an element (it will not scale, and what you get is your button going out of its container because your p tag cannot scale)
-
never use vh unless you want your element to fit to the screen or you are using some sort of calculation.
-
try to practise with SCSS and use BEM (block element modifiers) naming convention. these are the industry standard.
Marked as helpful1 -
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord