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

CSS suggestions #32

Open
LaLeonie opened this issue Aug 16, 2019 · 0 comments
Open

CSS suggestions #32

LaLeonie opened this issue Aug 16, 2019 · 0 comments

Comments

@LaLeonie
Copy link

Just a couple of suggestions to polish up your CSS:

When you declare a font-family, it's best practice to provide an alternative font and a serif/sans-serif flag the browser can fall back to, like font-family: Arial, Helvetica, sans-serif;

Using border-box can make your life easier later on, so I'd suggest to add this code to the start of your CSS:
html{
box-sizing: border-box;
}

*, *:before, *:after{
box-sizing: inherit;
}

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