File tree Expand file tree Collapse file tree 2 files changed +91
-0
lines changed
starter/03-CSS-Fundamentals/challenge-1 Expand file tree Collapse file tree 2 files changed +91
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < header >
4+ < title > Section 2 - Challenge #2</ title >
5+ < meta charset ="UTF-8 ">
6+ < link rel ="stylesheet " href ="style.css ">
7+ </ header >
8+
9+ < body >
10+ < article class ="product ">
11+ < h2 class ="product-header "> Converse Chuck Taylor All Star Low Top</ h2 >
12+
13+ < img alt ="Converse shoes. "
14+ height ="250 "
15+ src ="https://i.ibb.co/Jr7Wh1d/challenges.jpg "
16+ width ="250 ">
17+
18+ < p class ="pricing-details "> < strong > $65.00</ strong > </ p >
19+ < p class ="shipping-details "> Free shipping</ p >
20+ < p > Ready to dress up or down, these classic canvas Chucks are an everday wardrobe staple.</ p >
21+ < p >
22+ < a href ="# "> More information →</ a >
23+ </ p >
24+
25+ < h4 > Product details</ h4 >
26+ < ul >
27+ < li > Lightweight, durable canvas sneaker</ li >
28+ < li > Lightly padded footbed for added comfort</ li >
29+ < li > Iconic Chuck Taylor ankle patch.</ li >
30+ </ ul >
31+
32+ < button > Add to cart</ button >
33+ </ article >
34+ </ body >
35+ </ html >
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+ /* Use classes for all styling other than body. */
7+
8+ a {
9+ color : black;
10+ }
11+
12+ a : hover {
13+ text-decoration : none;
14+ }
15+
16+ button {
17+ background-color : black;
18+ border : none;
19+ color : white;
20+ text-transform : uppercase;
21+ }
22+
23+ button : hover {
24+ background-color : white;
25+ color : black;
26+ cursor : pointer;
27+ }
28+
29+ li {
30+ list-style-type : square;
31+ }
32+
33+ h2 , h4 {
34+ text-transform : uppercase;
35+ }
36+
37+ .product {
38+ border : 4px solid black;
39+ }
40+
41+ .product-header {
42+ background-color : # f7f7f7 ;
43+ font-size : 22px ;
44+ text-align : center;
45+ }
46+
47+ .pricing-details {
48+ font-size : 24px ;
49+ }
50+
51+ .shipping-details {
52+ color : # 777 ;
53+ font-size : 12px ;
54+ font-weight : bold;
55+ text-transform : uppercase;
56+ }
You can’t perform that action at this time.
0 commit comments