Skip to content

Commit

Permalink
add spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel committed Sep 24, 2024
1 parent bbb43c0 commit 800a906
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 11 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,42 @@
/>
</head>
<body>

<form
action="#"
data-qa="big"
>

<label>

<input
class="search-bar search-bar__big"
type="text"
data-qa="keypress"
placeholder="Try “Los Angeles“"
/>

</label>

</form>

<form
action="#"
data-qa="small"
>

<label>

<input
class="search-bar search-bar__small"
type="text"
data-qa="hover"
placeholder="Try “Los Angeles"
placeholder="Los Angeles"
/>

</label>

</form>

</body>
</html>
6 changes: 3 additions & 3 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

.search-bar__big {
height: 70px;
background-image: url(images/Search.svg);
background-image: url(/src/images/Search.svg);
background-repeat: no-repeat;
background-size: 19px 19px;
font-size: 16px;
Expand All @@ -46,7 +46,7 @@
border: 1px solid #e1e7ed;
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);

background-image: url('./images/Search.svg'),
background-image: url(/src/images/Search.svg),
linear-gradient(180deg, transparent, #f6f6f7);

background-repeat: no-repeat;
Expand All @@ -58,7 +58,7 @@

.search-bar__small {
height: 42px;
background-image: url(images/Search.svg);
background-image: url(/src/images/Search.svg);
background-repeat: no-repeat;
background-size: 11px 11px;
font-size: 14px;
Expand Down

0 comments on commit 800a906

Please sign in to comment.