-
Notifications
You must be signed in to change notification settings - Fork 15
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
finished css code #15
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure to watch when repeating yourself in CSS. Anytime you've written the same property and value more than once, there is an opportunity to refactor and condense your code by comma separating those selectors.
@@ -0,0 +1,113 @@ | |||
*{ | |||
width: 850px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than using a px value, use a % for width or set margin/padding so you can keep your site responsive.
color: #FFC963; | ||
font-size: 60px; | ||
text-decoration-line: none; | ||
font-family: sans-serif; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've already set the same font-family in the body so you don't need to set it again here.
|
||
h2 { | ||
font-size: 30px; | ||
font-family: sans-serif; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've already set the same font-family in the body so you don't need to set it again here.
} | ||
h4 a{ | ||
color: #FFC963; | ||
border-bottom: .9px solid #C3C3C3; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1px is pretty small already - I think .9px is a value that I probably would stray away from.
No description provided.