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

Modified web page #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

LallieDragon
Copy link

No description provided.

body {
font-weight: 200;
color: #333333;
padding: 0 25px 0 25px;

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 25px;

font-weight: 200;
color: #333333;
padding: 0 25px 0 25px;
width: 1000px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather then setting your width with pixels try using % so your site remains responsive.

padding: 0 25px 0 25px;
width: 1000px;
}
html {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not best practice to add styles to the html tag since that would get applied to things in the <head> which never need CSS. It would be better to apply these styles to the <body>.

font-size: 15px;
line-height: 15px;
display: inline-block;
border: transparent;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure to specify what border property this is.. border-color:

color: #f8ce78;
font-size: 12px;
margin: 0 -12px 0 -12px;
text-decoration: none;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you wrote out text-decoration: none; more than once consider adding a property to all anchors at the top of this file so you can keep your code DRY.

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

Successfully merging this pull request may close these issues.

2 participants