-
Notifications
You must be signed in to change notification settings - Fork 1
tasks done by Karam Karim #4
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
Open
BlackGhost3
wants to merge
11
commits into
master
Choose a base branch
from
karam-karim
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b6fe196
task 1 & 2
BlackGhost3 aac18b6
task 3 done
BlackGhost3 6ff5f32
shorted css selectors and fixed some typos
BlackGhost3 b626166
added shadow-box
BlackGhost3 0192174
fixed box-shadow
BlackGhost3 33c0a15
task 4 done
BlackGhost3 dde7fcf
task 5 done
BlackGhost3 0c208c8
task 5 added some css
BlackGhost3 97caf59
task 5 added some more css
BlackGhost3 49d3cbb
task-6 done
BlackGhost3 bfea96a
initial push++
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>task 3</title> | ||
| <link rel="stylesheet" href="./style.css"> | ||
| </head> | ||
| <body> | ||
|
|
||
| <div class="container"> | ||
| <ui class="dropdown" data-text="Select Language"> | ||
|
|
||
| <li class="option">france</li> | ||
| <li class="option">germany</li> | ||
| <li class="option">united kingdom</li> | ||
| <li class="option">poland</li> | ||
|
|
||
| </ui> | ||
| </div> | ||
|
|
||
| </body> | ||
| </html> | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| body{ | ||
| margin: 0; | ||
| padding: 0; | ||
| background-color: rgb(198,200,197); | ||
| font-family: Open Sans; | ||
| } | ||
|
|
||
| .container{ | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| width: 100%; | ||
| height: 100vh; | ||
| } | ||
|
|
||
|
|
||
|
|
||
| .container > .dropdown{ | ||
| background-color: #fff; | ||
| list-style: none; | ||
| position: relative; | ||
| border-radius: 5px; | ||
|
|
||
|
Member
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. you are missing
Author
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. okay, sorry about this one it was 2 am and I didn't notice it in the pics. |
||
| } | ||
| /* the header */ | ||
| .container > .dropdown::before{ | ||
| content: attr(data-text); | ||
| color: lightgrey; | ||
| font-size: 1.1em; | ||
| font-weight: bold; | ||
| padding: 1.5em; | ||
| width: 20em; | ||
| display: flex; | ||
| background-color: #fff; | ||
| border-radius: 5px; | ||
| position: absolute; | ||
| top: -40%; | ||
| background-image: url(arrow-down.png); | ||
| background-position: calc(100% - 10px); | ||
| background-repeat: no-repeat; | ||
| background-size: 16px; | ||
| } | ||
|
|
||
| /* the country names */ | ||
|
|
||
| .container > .dropdown > .option{ | ||
| color: grey; | ||
| text-transform: capitalize; | ||
| box-sizing: border-box; | ||
| user-select: none; | ||
| -webkit-user-select: none; | ||
| -moz-user-select: none; | ||
| width: 25em; | ||
| padding: 1.5em; | ||
| padding-left: 4em; | ||
| position: relative; | ||
| } | ||
|
|
||
| /* the country image */ | ||
| .container > .dropdown > .option::before{ | ||
| content: ''; | ||
| display: block; | ||
| width: 40px; | ||
| height: 40px; | ||
| position: absolute; | ||
| left: 10px; | ||
| top:50%; | ||
| transform: translateY(-50%); | ||
| background-position: left; | ||
| background-repeat: no-repeat; | ||
| background-size: 40px; | ||
| } | ||
|
|
||
| .container > .dropdown > .option:nth-child(1)::before{ | ||
| background-image: url(france.png); | ||
| } | ||
|
|
||
| .container > .dropdown > .option:nth-child(2)::before{ | ||
| background-image: url(germany.png); | ||
| } | ||
|
|
||
| .container > .dropdown > .option:nth-child(3)::before{ | ||
| background-image: url(united-kingdom.png); | ||
| } | ||
|
|
||
| .container > .dropdown > .option:nth-child(4)::before{ | ||
| background-image: url(poland.png); | ||
| } | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
what is this tag
ui?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.
typo, It meant to be
ulnotui.