-
Notifications
You must be signed in to change notification settings - Fork 20
finish homework1 #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: main
Are you sure you want to change the base?
finish homework1 #23
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,106 @@ | ||
| .main{ | ||
| background-image: url("./image.png"); | ||
| background-size: cover; | ||
| display: flex; | ||
| align-items: center; | ||
| width: 100%; | ||
| height: 100vh; | ||
| } | ||
| #border{ | ||
| border: 1px solid ; | ||
| width: 480px; | ||
| margin-bottom: 20px; | ||
| } | ||
| .intro{ | ||
| color: #004362; | ||
| width: 30%; | ||
| margin-right: 100px; | ||
| margin-left: 300px; | ||
| } | ||
| #content{ | ||
| font-weight: 300; | ||
| width: 400px; | ||
| } | ||
| #Welcome{ | ||
| font-size: 2em; | ||
| font-weight: 500; | ||
| width: 500px; | ||
| margin-bottom: 20px; | ||
| } | ||
| .SignArea{ | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
|
|
||
| height: 50vh; | ||
| width: 60vh; | ||
|
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. |
||
|
|
||
| background: #FEFEFE; | ||
| border: 1px solid #FEFEFE; | ||
| border-radius: 8px; | ||
| } | ||
| #SignUp{ | ||
| font-size: 2em; | ||
| display: flex; | ||
| justify-content: center; | ||
| color: #474747; | ||
| } | ||
|
|
||
|
|
||
| .item{ | ||
| width: 80%; | ||
| } | ||
| #SignIntro{ | ||
| display: flex; | ||
| justify-content: center; | ||
| color: #C2C2C2; | ||
| } | ||
| .box{ | ||
| width: 100%; | ||
| height:40px; | ||
| border: 1px solid #F0F0F0; | ||
| border-radius: 8px; | ||
| } | ||
| .signForm{ | ||
| height: 25%; | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| } | ||
| .Name, | ||
| .Phone-number, | ||
| .Dulux-Account{ | ||
| height: 15%; | ||
| margin-bottom: 10px; | ||
| color: #AAAAAA; | ||
| } | ||
|
Comment on lines
+71
to
+77
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. can use one class name for simplify |
||
| .signButton{ | ||
| margin-top: 10px; | ||
| display: flex; | ||
| justify-content: center; | ||
| height: 40px; | ||
| } | ||
| #SignUpButton{ | ||
| border: 1px solid #F0F0F0; | ||
| border-radius: 8px; | ||
| color: #FEFEFE; | ||
| width: 100%; | ||
| height: 100%; | ||
| background-color: #007AB0; | ||
| } | ||
| .SignIn{ | ||
| height: 15%; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| } | ||
| #SignInSpan{ | ||
| color: #568AED; | ||
| margin-left: 5px; | ||
| cursor: pointer; | ||
| } | ||
| #SignInSpan:hover{ | ||
| text-decoration: underline; | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <link rel="stylesheet" href="index.css"> | ||
| <title>Document</title> | ||
| </head> | ||
| <body class="main"> | ||
| <div class="intro"> | ||
| <div id="Welcome">Welcome to Paint Quote System</div> | ||
| <div id="border"></div> | ||
| <div id="content">Consequat adipisicing ea do labore irure adipisicing occaecat cupidatat excepteur duis mo</div> | ||
| </div> | ||
| <div class="SignArea"> | ||
| <div class="signForm item"> | ||
| <div id="SignUp">Sign Up</div> | ||
| <div id="SignIntro">Enter details to create your account</div> | ||
| </div> | ||
|
Comment on lines
+16
to
+19
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 should use label tag for input title |
||
| <div class="Name item"> | ||
| <div>Your name</div> | ||
| <div><input class="box" type="text" placeholder="Enter your name"></div> | ||
| </div> | ||
| <div class="Phone-number item"> | ||
| <div>Your name</div> | ||
| <div><input class="box" type="text" placeholder="Enter your phone number"></div> | ||
| </div> | ||
| <div class="Dulux-Account item"> | ||
| <div>Your name</div> | ||
| <div><input class="box" type="text" placeholder="Enter your Dulux account"></div> | ||
| </div> | ||
| <div class="signButton item"><button id="SignUpButton">Sign up</button></div> | ||
| <div class="SignIn item">Already have an account?<span id="SignInSpan">Sign in</span></div> | ||
| </div> | ||
| </body> | ||
| </html> | ||

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.
missing color value