Would you please have a look at my code and offer any suggestions for improvements?

Thank you! Could you tell me other ways to reduce CSS lines?

Just look for situations where there is 75% duplication and put all the duplicated parts in a single group of selectors.

I would also look into using CSS variables, so you can define commonly used values (like colors) in one part of your CSS and then use them in the various selectors. This way, if you want to change one color to another color across multiple selectors, you only have to update it in one place.

1 Like

That’s SASS, right? I will look into it.

Another thing I am curious about is if I can use pseudo selectors here?

Nothing much, just wanted to complete this project with all the things that can be done.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.