Skip to content

Commit ae54407

Browse files
committed
Up to date
1 parent e86b9cd commit ae54407

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

css/store.css

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,25 @@ a:hover{
4343

4444
.form-container{
4545
flex: 50%;
46+
max-width: 500px;
47+
max-height: 500px;
4648

4749
}
4850

49-
.store-image{
50-
flex: 50%;
51+
label{
52+
display: block;
53+
width: auto;
54+
}
55+
56+
label{
57+
58+
59+
}
60+
.image{
61+
background-size: cover;
62+
max-width: 500px;
63+
max-height: 500px;
64+
5165
}
5266

5367

store.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<div>
7575
<label for="city">City *</label>
7676
<select id="city">
77-
<option value="city" selected>Select your city</option>
77+
<option value="city" disabled selected>Select your city..</option>
7878
<option value="city">London</option>
7979
<option value="city">Manchester</option>
8080
<option value="city">Liverpool</option>
@@ -95,8 +95,7 @@
9595

9696

9797
<input type="radio" name="colour" id="grey"/>
98-
<label for="grey">Space grey</label>
99-
98+
<label for="grey">Space grey</label>
10099
</div>
101100

102101
<div>
@@ -111,8 +110,9 @@
111110
</fieldset>
112111
</form>
113112
</div>
113+
114114
<div class="image-container">
115-
<img src="level-2/store-image_by-andrew-neel-unsplash.jpg">
115+
<img class="image" src="level-2/store-image_by-andrew-neel-unsplash.jpg">
116116
</div>
117117
</section>
118118
</main>

0 commit comments

Comments
 (0)