You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
}
The text was updated successfully, but these errors were encountered:
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;
}
The text was updated successfully, but these errors were encountered: