Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1.2k
Step2#23
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
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Step2 #23
Changes from all commits
8532e93
Abdalrazaq94 0615d9d1fd912a
Abdalrazaq94 5913e55
Abdalrazaq94 082dada9c2a1e228fc09ff128c8d7fa2a9f06e8b85cb30d08File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,50 @@ | ||
| /* Step-2 You can assign padding to all sides of a container by using the padding shorthand property. */ | ||
| .content-left { | ||
| padding: 20 20 20 20 px; | ||
| } | ||
| /* Step 2 You can assign padding to all sides of a container by using the padding shorthand property. */ | ||
| .header { | ||
| padding: 20 20 20 20 px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here | ||
| } | ||
| /* Step-2 One option to get the container to fill the parent container is to use width: auto; */ | ||
| .profile-image-container { | ||
| height:auto ; | ||
| width:auto ; | ||
| margin-bottom: auto; | ||
| background: #96F0F2; | ||
| } | ||
| /* Step-2 One option to get the container to fill the parent container is to use width: auto; */ | ||
| .profile-links-container { | ||
| background: #12F3F7; | ||
| height:auto ; | ||
| width: auto; | ||
| } | ||
| /* Step-2 You can either use float left to get this element to in the desired location. */ | ||
| .logo-container { | ||
| background: #4F4949; | ||
| height:auto ; | ||
| width: auto; | ||
| float: left; | ||
| } | ||
| /* Step-2 You can either use float right to get this element to in the desired location. */ | ||
| .menu-container { | ||
| height:auto ; | ||
| width: auto; | ||
| float:right; | ||
| background: #4F4949; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,27 @@ | ||
| /* Step-3 You can assign padding to all sides of a container by using the padding shorthand property. */ | ||
| .content-mid { | ||
| padding: 80 80 80 80px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here | ||
| } | ||
| .content-mid-header { | ||
| width:auto ; | ||
| height:auto ; | ||
| background: #444; | ||
| } | ||
| .content-container { | ||
| width:auto ; | ||
| height:auto ; | ||
| } | ||
| .content { | ||
| background: #D8D8D8; | ||
| width:auto ; | ||
| height:auto ; | ||
| text-align: center; | ||
| padding: 20 20 20 20px; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -4,6 +4,7 @@ | ||
| width: 100%; | ||
| height: 200px; | ||
| position: relative; | ||
| color: #F2EFE5; | ||
| } | ||
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 can write 20px once that will be the same you did, less code is better