-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
add task solution #4603
base: master
Are you sure you want to change the base?
add task solution #4603
Changes from 1 commit
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 |
---|---|---|
@@ -1 +1,74 @@ | ||
/* add styles here */ | ||
@font-face { | ||
font-family: Avenir; | ||
src: url(fonts/AvenirLTStd-Book.woff2) format('woff2'); | ||
font-weight: 400; | ||
font-style: normal; | ||
} | ||
|
||
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. missing:
|
||
html { | ||
font-family: Avenir, sans-serif; | ||
font-weight: 400; | ||
} | ||
|
||
input::placeholder { | ||
font-family: Avenir, sans-serif; | ||
font-weight: 400; | ||
color: #3D4E61; | ||
} | ||
|
||
|
||
|
||
.input { | ||
background-image: url(images/Icon.png); | ||
background-repeat: no-repeat; | ||
background-position: 5px; | ||
padding-left: 30px; | ||
border-radius: 3px; | ||
border: 1px solid #E1E7ED; | ||
font-size: 16px; | ||
} | ||
|
||
.input_item-1 { | ||
width: 900px; | ||
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. width: 100% |
||
height: 70px; | ||
top: 71px; | ||
left: 48px; | ||
Comment on lines
+36
to
+37
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. The 'top' and 'left' properties are used here, but they have no effect unless the element is positioned (e.g., relative, absolute, fixed). Consider removing these properties or setting a position for the element. |
||
margin-top: 20px; | ||
margin-bottom: 20px; | ||
box-shadow: 0 1px 8px 0 #3D4E611A; | ||
|
||
} | ||
|
||
.input_item-2 { | ||
width: 427px; | ||
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. width: 100% |
||
height: 42px; | ||
top: 403px; | ||
left: 48px; | ||
Comment on lines
+48
to
+49
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. Similar to the previous comment, the 'top' and 'left' properties will not affect the element unless it has a specified position. Consider removing these properties or setting a position for the element. |
||
font-size: 14px; | ||
text-shadow: 0 4px 4px 0 #00000040; | ||
|
||
} | ||
|
||
.input_item-1:hover { | ||
box-shadow: 0 4px 4px 0 #00000040; | ||
} | ||
|
||
.input_item-1:focus { | ||
background: linear-gradient(180deg, #FFF 0%, #F6F6F7 100%); | ||
box-shadow: 0 4px 4px 0 #00000040; | ||
text-shadow: 0 4px 4px 0 #00000040; | ||
color: #3D4E61; | ||
} | ||
|
||
.input_item-2:hover { | ||
text-shadow: none; | ||
box-shadow: 0 3px 8px 0 #3D4E6133; | ||
} | ||
|
||
.input_item-2:focus { | ||
background: linear-gradient(180deg, #FFF 0%, #F6F6F7 100%); | ||
font-weight: 900; | ||
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. The |
||
color: #3D4E61; | ||
} | ||
|
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.
The
<br>
tag should be self-closing like<br />
to maintain consistency with the XHTML style used in the rest of the document.