File tree Expand file tree Collapse file tree 2 files changed +107
-0
lines changed
myWork/03-CSS-Fundamentals/challenges Expand file tree Collapse file tree 2 files changed +107
-0
lines changed Original file line number Diff line number Diff line change 1+ body {
2+ font-family : sans-serif;
3+ line-height : 1.4 ;
4+ }
5+
6+ .product {
7+ border : 4px solid black;
8+ }
9+
10+ .product-name {
11+ text-transform : uppercase;
12+ font-size : 22px ;
13+ font-weight : bold;
14+ background-color : # f7f7f7 ;
15+ text-align : center;
16+ }
17+
18+ .price {
19+ font-size : 18px ;
20+ font-weight : bold;
21+ }
22+
23+ .shipping {
24+ text-transform : uppercase;
25+ font-size : 14px ;
26+ font-weight : bold;
27+ color : # 1098ad ;
28+ }
29+
30+ .more-info-link : link ,
31+ .more-info-link : visited {
32+ color : black;
33+ }
34+
35+ .more-info-link : hover ,
36+ .more-info-link : active {
37+ color : black;
38+ text-decoration : none;
39+ }
40+
41+ .product-details-heading {
42+ text-transform : uppercase;
43+ font-size : 18px ;
44+ }
45+
46+ .product-details-list {
47+ list-style-type : square;
48+ }
49+
50+ .add-to-cart-button {
51+ text-transform : uppercase;
52+ background-color : black;
53+ color : white;
54+ border : 1px solid black;
55+ font-size : 16px ;
56+ cursor : pointer;
57+ }
58+
59+ .add-to-cart-button : hover {
60+ background-color : white;
61+ color : black;
62+ border : 1px solid white;
63+ }
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 " />
5+ < title > Section 2 - Challenge #2</ title >
6+ < link href ="challenge1css.css " rel ="stylesheet " />
7+ </ head >
8+ < body >
9+ < article class ="product ">
10+ < header >
11+ < h2 class ="product-name "> Converse Chuck Taylor All Star Low Top</ h2 >
12+ < img
13+ src ="../images/challenges.jpg "
14+ alt ="Converse Chuck Taylor All Star Low Top "
15+ height ="250 "
16+ width ="250 "
17+ />
18+ </ header >
19+
20+ < h4 class ="price "> $65.00</ h4 >
21+
22+ < p class ="shipping "> Free shipping</ p >
23+
24+ < p >
25+ Ready to dress up or down, these classic canvas Chucks are an everyday
26+ wardrobe staple.
27+ </ p >
28+
29+ < a href ="# " target ="_blank " class ="more-info-link "
30+ > More information →</ a
31+ >
32+
33+ < h3 class ="product-details-heading "> Product details</ h3 >
34+
35+ < ul class ="product-details-list ">
36+ < li > Lightweight, durable canvas sneaker</ li >
37+ < li > Lightly padded footbed for added comfort</ li >
38+ < li > Iconic Chuck Taylor ankle patch</ li >
39+ </ ul >
40+
41+ < button class ="add-to-cart-button "> Add to cart</ button >
42+ </ article >
43+ </ body >
44+ </ html >
You can’t perform that action at this time.
0 commit comments