Skip to content

Commit

Permalink
fix naming form tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Krykunov committed Sep 24, 2024
1 parent 379f36b commit 8750507
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@
</head>
<body>
<form
class="form form--big"
class="form form_big"
action="search"
data-qa="big"
>
<input
class="input form--big__input"
class="input form_big__input"
type="text"
data-qa="keypress"
placeholder="Try “Los Angeles“"
/>
</form>

<form
class="form form--small"
class="form form_small"
action="search"
data-qa="small"
>
<input
class="input form--small__input"
class="input form_small__input"
type="text"
data-qa="hover"
placeholder="Try “Los Angeles“"
Expand Down
10 changes: 5 additions & 5 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ body {
transform: translateY(-50%);
}

.form--big::before {
.form_big::before {
width: 19px;
height: 19px;
left: 26px;
}

.form--small::before {
.form_small::before {
width: 11px;
height: 11px;
left: 13px;
Expand All @@ -64,14 +64,14 @@ body {
outline: none;
}

.form--big__input {
.form_big__input {
height: 70px;
padding: 25px 26px 26px 62px;
font-size: 16px;
line-height: 22px;
}

.form--small__input {
.form_small__input {
height: 42px;
padding-left: 33px;
font-size: 14px;
Expand All @@ -92,7 +92,7 @@ body {
font-weight: 900;
}

.form--small__input:focus {
.form_small__input:focus {
box-shadow: none;
text-shadow: none;
}

0 comments on commit 8750507

Please sign in to comment.