Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share CSS styles #28

Open
oliverjam opened this issue Jan 21, 2022 · 0 comments
Open

Share CSS styles #28

oliverjam opened this issue Jan 21, 2022 · 0 comments

Comments

@oliverjam
Copy link

https://github.com/fac-23/nom-nom-app/blob/68c1cfe5a741d7ffa81688f0d56038c60ff45703/public/styles.css#L51

Classnames don't have to be unique—if you want several different things to look like a button it might make sense to make a generic CSS component with a class like .btn or .button, then apply this to anything that needs to look button-y. It's totally fine to have multiple classes composed together, so if you need to specifically override a bit of e.g. .link-leave-review you can still do <a class="button link-leave-review">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant