Skip to content

Commit 89be6ad

Browse files
author
wanchufley
committed
updated resources for iframes
1 parent 018812d commit 89be6ad

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

docs/resources/iframes/coffee-shop.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1>Coffee Masters</h1>
2020
<p>Capuccino</p>
2121
<p>Soya Milk</p>
2222
</div>
23-
<p class="product-price">3.85 $</p>
23+
<p class="product-price">$3.85</p>
2424
</div>
2525
<hr>
2626
<div class="item">
@@ -30,7 +30,7 @@ <h1>Coffee Masters</h1>
3030
<p>Soya Milk</p>
3131
<p>No Sugar</p>
3232
</div>
33-
<p class="product-price">3.85 $</p>
33+
<p class="product-price">$3.85</p>
3434
</div>
3535
<hr>
3636
<div class="item">
@@ -39,7 +39,7 @@ <h1>Coffee Masters</h1>
3939
<p>Croissant</p>
4040
<p>Butter</p>
4141
</div>
42-
<p class="product-price">2.45 $</p>
42+
<p class="product-price">$2.45</p>
4343
</div>
4444
</div>
4545
<div class="wallet">
@@ -70,23 +70,23 @@ <h1 class="section-title">PAYMENT DETAILS</h1>
7070
Subtotal:
7171
</td>
7272
<td class="right-cells"> <!--0,1-->
73-
9,65 $
73+
$9,65
7474
</td>
7575
</tr>
7676
<tr>
7777
<td class="left-cells"> <!--1,0-->
7878
Tax:
7979
</td>
8080
<td class="right-cells"> <!--1,1-->
81-
0,82 $
81+
$0,82
8282
</td>
8383
</tr>
8484
<tr>
8585
<td class="left-cells"> <!--2,0-->
8686
Total:
8787
</td>
8888
<td class="right-cells"> <!--2,1-->
89-
10,47 $
89+
$10,47
9090
</td>
9191
</tr>
9292
</table>

docs/resources/iframes/stylesheets/styles.css

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
* {
2+
box-sizing: border-box;
3+
}
14
body {
25
font-family: 'Open Sans', sans-serif;
36
}
@@ -63,23 +66,30 @@ input {
6366
}
6467
.cart {
6568
display: flex;
69+
margin: 20px;
70+
}
71+
@media (max-width: 768px) {
72+
.cart {
73+
flex-direction: column;
74+
}
6675
}
6776
.page {
6877
display: flex;
6978
flex-direction: column;
79+
size: 100%;
7080
}
7181
.items {
72-
border-radius: 5px;
7382
padding: 20px;
74-
margin: 20px;
75-
width: 50%;
83+
margin: 20 0px;
84+
border-radius: 5px;
85+
width: 100%;
7686
background-color: Bisque;
7787
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
7888
}
7989
.wallet {
8090
padding: 20px;
8191
margin: 10px;
82-
width: 50%;
92+
width: 100%;
8393
}
8494
.input-label {
8595
background-color: Bisque;
@@ -117,7 +127,6 @@ input {
117127
color: chocolate;
118128
}
119129
.item {
120-
padding: 10px;
121130
display: flex;
122131
color: chocolate;
123132
}

0 commit comments

Comments
 (0)