Skip to content
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 #4396

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

labelsavchuk
Copy link

Copy link

@polosanya polosanya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Let's improve your solution a bit)
Placeholder shouldn't change on focus
image

src/index.html Outdated
<form data-qa="small">
<label class="search-bar search-bar--size--small page__search">
<input
class="search-bar__input search-bar__input--size--small"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class="search-bar__input search-bar__input--size--small"
class="search-bar__input search-bar__input--small"

Classnames can be simplified

.search-bar::after {
background-image: url(./images/Search.svg);
height: 19px;
position: absolute;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pay attention to CSS properties order
https://9elements.com/css-rule-order/

@labelsavchuk
Copy link
Author

@labelsavchuk labelsavchuk reopened this Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants