@DeyanTopalov
Posted
Hi There!
Very nice solutions, congratulations!
Few notes on the code, that might seem interesting for you: This is part of a design, so you can play and test CSS custom variables. Some of the benefits are:
- less repetition;
- more clean code;
- if the design theme changes, it is easy to update just few variables on the top and then the changes will be applied to all the places that are using them.
Another thing that may interest you is using :is(), :where() for the cases where you have multiple selectors sharing the same rule set. There are some interesting videos from Kevin Powell.
Overall great solution and a job well done!