-
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
Matt Cain submitting mockup-html-css homework #6
base: master
Are you sure you want to change the base?
Conversation
|
||
} | ||
|
||
body { |
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.
Since this applied to everything in the html, you want this to be at the top of your CSS file. Styles cascade down so you typically want the least specific selector at the top of the file, and the most specific at the bottom.
nav a{ | ||
font-size: 22px; | ||
color: #c4c4c4; | ||
padding: 0px 5px 0px 5px; |
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.
shorthand way to write this: padding: 0 5px;
. That sets the top and bottom to 0, left and right to 5px.
|
||
body { | ||
font-family: Lato; | ||
padding: 30px 925px 0px 50px; |
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.
This is a pretty huge right padding value. Did you mean to add that much space on the entire body?
|
||
h2 { | ||
font-weight: 500; | ||
font-style: bold; |
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.
Bold is an invalid value for font-style. You are basically making this h2 bold by changing the font-weight in the line above.
font-size: 19px; | ||
} | ||
|
||
article p::first-letter { |
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.
NICE!
|
||
footer nav a{ | ||
color: #ffb782; | ||
text-decoration: none; |
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 started to repeat this property over and over throughout the file. Consider creating an anchor a { }
selector at the beginning of the file that clears this text-decoration to help keep your code DRY.
No description provided.