Social links profile using Flexbox, BEM, Variable & Logical Properties
Design comparison
Solution retrospective
As always I would like to know if I am using Custom Properties properly. Thanks
Community feedback
- @Code-BeakerPosted 4 months ago
Hi there! You've done a great job with this project 🎉
I have taken a look at your live site solution and the source code. You've done a great job with your CSS by using the custom properties.
- One suggestion I want to forward is to split your CSS into multiple files to keep it cleaner. For example, store the custom properties and variables inside a
variables.css
file and put the resets inside aresets.css
file. - Instead of
px
use a relative unit likerem
orem
. Here's an article that explains you about it.
Hope this helps you 😄
Marked as helpful1@dedo-devPosted 4 months ago@Code-Beaker thanks a million, really appreciate it. By the next project I will use multiple files to my CSS.
Just one question, I didn't use relative units just for the
border-radius
andtext-underline-offset
, also for this stuff I need to use it?Thanks again ✌️
1@Code-BeakerPosted 4 months agoHi, @dedo-dev. I'm glad you found my comment helpful.
Yes it is fine and better to use relative units for properties like
border-radius
.Keep coding 😄
1 - One suggestion I want to forward is to split your CSS into multiple files to keep it cleaner. For example, store the custom properties and variables inside a
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