-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Remarks are taken into account #636
base: master
Are you sure you want to change the base?
Conversation
Remarks are taken into account |
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.
Screen.Recording.2021-06-08.at.11.52.11.mov
Что-то в тестах твои инпуты выглядят совсем не так как должны
src/style.css
Outdated
/* .field1 { | ||
font: Avenir-Book; | ||
} | ||
|
||
.field2 { | ||
font: Avenir-Heavy; | ||
} */ |
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.
remove commented code
src/style.css
Outdated
@font-face { | ||
font-family: Avenir; | ||
src: url(./fonts/avenir.ttc); | ||
} | ||
|
||
@font-face { | ||
font-family: Avenir; | ||
font-style: italic; | ||
src: url(./fonts/Avenir-Book.ttf); | ||
} | ||
|
||
@font-face { | ||
font-family: Avenir-Heavy; | ||
font-style: italic; | ||
font-weight: bold; | ||
src: url(./fonts/Avenir-Heavy.ttf); | ||
} |
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.
Щоб підключити 2 жирності одного шрифта потрібно вказати джерело шрифта, назву шрифта і його жирність.
@font-face {
font-family: Avenir;
src: url(/fonts/Avenir-Book.ttf);
font-weight: 300;
}
@font-face {
font-family: Avenir;
src: url(/fonts/Avenir-Heavy.ttf);
font-weight: 900;
}
New version |
- [DEMO LINK](https://RomanProkopiv.github.io/layout_search-bar-airbnb/) | ||
- [TEST REPORT LINK](https://RomanProkopiv.github.io/layout_search-bar-airbnb/report/html_report/) |
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.
Ссылки не рабочие, выполни пунтк 15 отсюда
.search:default { | ||
font-weight: 300; | ||
} |
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.
Думаю это можно прописать просто в .search
.field1 { | ||
height: 70px; | ||
font-size: 15px; | ||
background: url(./images/Search.svg) no-repeat scroll left center; | ||
background-position-x: 23px; | ||
padding-left: 60px; | ||
width: 100%; | ||
} | ||
|
||
.field2 { | ||
height: 40px; | ||
font-size: 13px; | ||
background: url(./images/Search.svg) no-repeat scroll left center; | ||
background-size: 12px; | ||
background-position-x: 11px; | ||
padding-left: 30px; | ||
width: 100%; | ||
} |
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.
У нас є search та search--small (--small - модифікатор). Тому всі стилі які прописані для “великого” інпуту ми задаємо для всіх інпутів в цілому, а за допомогою модифіктора small міняємо тільки потрібні значення, щоб наш інпут став малим.
field1 и field2 очень непонятные классы
No description provided.