-
Notifications
You must be signed in to change notification settings - Fork 139
How name custom css classes
Nikolay Gagarinov edited this page Oct 4, 2024
·
1 revision
-
if it is a component - then through having a project component is when nesting and structure are important Example: https://github.com/Hexlet/hexlet-cv/blob/e30bceae62b09335362f82ff19e126f745bff456/app/javascript/stylesheets/application.scss#L15-L21
-
if it is a utility class that changes one thing and can be bound to anything - then via
x-https://github.com/Hexlet/hexlet-cv/blob/e30bceae62b09335362f82ff19e126f745bff456/app/javascript/stylesheets/application.scss#L23-L25