Skip to content

Commit a2242f7

Browse files
author
Andy Chau
committed
Session 3 challenges
1 parent ba92bb0 commit a2242f7

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
body {
2+
font-family: sans-serif;
3+
line-height: 1.4;
4+
}
5+
6+
/* PRODUCT */
7+
.product {
8+
border: 4px solid black;
9+
}
10+
11+
.product-title {
12+
text-align: center;
13+
font-size: 22px;
14+
text-transform: uppercase;
15+
background-color: #f7f7f7;
16+
}
17+
18+
/* PRODUCT INFORMATION */
19+
.price {
20+
font-size: 24px;
21+
}
22+
23+
.shipping {
24+
font-size: 12px;
25+
text-transform: uppercase;
26+
font-weight: bold;
27+
color: #777;
28+
}
29+
30+
.more-info:link,
31+
.more-info:visited {
32+
color: black;
33+
}
34+
35+
.more-info:hover,
36+
.more-info:active {
37+
text-decoration: none;
38+
}
39+
40+
/* PRODUCT DETAILS */
41+
.details-title {
42+
text-transform: uppercase;
43+
font-size: 16px;
44+
}
45+
46+
.details-list {
47+
list-style: square;
48+
}
49+
50+
/* BUTTON */
51+
.add-cart {
52+
background-color: #000;
53+
border: none;
54+
color: #fff;
55+
font-size: 20px;
56+
text-transform: uppercase;
57+
cursor: pointer;
58+
}
59+
60+
.add-cart:hover {
61+
color: #000;
62+
background-color: #fff;
63+
}

0 commit comments

Comments
 (0)