Skip to content

Commit 7bd8385

Browse files
committed
fix input style
1 parent 507ec4d commit 7bd8385

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

apps/localStorage-and-event-delegation/assets/style/index.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,13 @@ body {
7474

7575
.form {
7676
margin: 20px 0;
77+
display: flex;
7778
align-self: flex-start;
7879
}
7980

8081
.form__input {
8182
background: #f7f7f7;
82-
border-radius: 5px;
83+
border-radius: 5px 0 0 5px;
8384
font-size: 0.8em;
8485
font-weight: 100;
8586
transition: 0.3s;
@@ -89,6 +90,9 @@ body {
8990

9091
.form__submite {
9192
text-transform: uppercase;
93+
background: #f7f7f7;
9294
color: #9c9c9c;
95+
font-size: 0.8em;
9396
padding: 10px;
97+
border-radius: 0 5px 5px 0;
9498
}

apps/localStorage-and-event-delegation/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h1 class="content__title">Fancy foods</h1>
8484
placeholder="Type some food?"
8585
required
8686
/>
87-
<input class="form__input form__submite" type="submit" value="Add" />
87+
<input class="form__submite" type="submit" value="Add" />
8888
</form>
8989
</div>
9090
</div>

0 commit comments

Comments
 (0)