File tree 2 files changed +90
-0
lines changed
starter/03-CSS-Fundamentals/challenge/1
2 files changed +90
-0
lines changed 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 > Challenge #1</ title >
6
+ < link href ="style.css " rel ="stylesheet " />
7
+ </ head >
8
+ < body >
9
+ < article class ="product ">
10
+ < h2 > Converse Chuck Taylor All Star Low top</ h2 >
11
+ < img
12
+ src ="https://i.ibb.co/Jr7Wh1d/challenges.jpg "
13
+ alt ="sneakers "
14
+ height ="250 "
15
+ width ="250 "
16
+ />
17
+ < p > < strong class ="price "> $65.00</ strong > </ p >
18
+ < p class ="shipping "> Free shipping</ p >
19
+ < p >
20
+ Ready to dress up or down, these classic canvas Chucks are an everyday
21
+ wardrobe staple.
22
+ </ p >
23
+ < a href ="# "> More information →</ a >
24
+
25
+ < article >
26
+ < h3 > Product details</ h3 >
27
+ < ul >
28
+ < li > Lightweight, durable cavas sneaker</ li >
29
+ < li > Lightly padded footbed for added comfort</ li >
30
+ < li > Iconic Chuck Taylor ankle patch.</ li >
31
+ </ ul >
32
+ </ article >
33
+ < button > Add to cart</ button >
34
+ </ article >
35
+ </ body >
36
+ </ 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
+ .product {
7
+ border : 4px solid # 000 ;
8
+ }
9
+
10
+ h2 {
11
+ text-transform : uppercase;
12
+ text-align : center;
13
+ background-color : # d3d3d3 ;
14
+ }
15
+
16
+ .price {
17
+ font-size : 22px ;
18
+ }
19
+
20
+ .shipping {
21
+ font-size : 12px ;
22
+ text-transform : uppercase;
23
+ font-weight : bold;
24
+ color : # 777 ;
25
+ }
26
+
27
+ a : link ,
28
+ a : visited ,
29
+ a : hover ,
30
+ a : active {
31
+ color : # 000 ;
32
+ }
33
+
34
+ a : hover {
35
+ text-decoration : none;
36
+ }
37
+
38
+ ul li {
39
+ list-style : square;
40
+ }
41
+
42
+ button {
43
+ background-color : # 000 ;
44
+ border : none;
45
+ color : # fff ;
46
+ cursor : pointer;
47
+ font-size : 20px ;
48
+ text-transform : uppercase;
49
+ }
50
+
51
+ button : hover {
52
+ background-color : # fff ;
53
+ color : # 000 ;
54
+ }
You can’t perform that action at this time.
0 commit comments