Design comparison
Solution retrospective
This is my first time using multiple sass files to compile the css and im a bit confused. I've read that @import is deprecated so @use and @foward must be used instead.
I have 3 main files: _base, _components and _layout. In _index.scss i @foward these 3 files and then in style.scss i @use the _index so i am compiling all files and it works as expected.
By using this flow i still have to @use the _base.scss file in the other partitions (_components and _layout) but if i start using more partitions in future projects then i'd have to @use a lot of files in every single partition. Is this the correct flow?
Any other design feedback is appreciated Thanks!
Community feedback
- @catherineisonlinePosted almost 2 years ago
Nice! 🙌🏻
I would also add some transitions for active states (when colors change on hover). It creates more interactivity and makes the project looks cooler. Active states can be done on buttons, links, titles which act like links or anything else, you choose.
You can read more about it here, in case you haven’t done much of it: https://www.w3schools.com/css/css3_transitions.asp
IF THIS WAS HELPFUL PLEASE MARK IT AS HELPFUL 🤩
0 - @catherineisonlinePosted almost 2 years ago
Nice! 🙌🏻
I would also add some transitions for active states (when colors change on hover). It creates more interactivity and makes the project looks cooler. Active states can be done on buttons, links, titles which act like links or anything else, you choose.
You can read more about it here, in case you haven’t done much of it: https://www.w3schools.com/css/css3_transitions.asp
IF THIS WAS HELPFUL PLEASE MARK IT AS HELPFUL 🤩
0
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