File tree 2 files changed +60
-2
lines changed
starter/02-HTML-Fundamentals
2 files changed +60
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,16 @@ <h2>Converse Chuck Taylor All Star Low Top</h2>
18
18
Ready to dress up or down, these classic canvas Chucks are an everyday
19
19
wardrobe staple
20
20
</ p >
21
- < a href ="# "> More information →</ a >
21
+ < a class ="more " href ="# "> More information →</ a >
22
+
23
+ < div class ="color-bars ">
24
+ < div class ="color-bar color-1 ">  </ div >
25
+ < div class ="color-bar color-2 ">  </ div >
26
+ < div class ="color-bar color-3 ">  </ div >
27
+ < div class ="color-bar color-4 ">  </ div >
28
+ < div class ="color-bar color-5 ">  </ div >
29
+ < div class ="color-bar color-6 ">  </ div >
30
+ </ div >
22
31
< h3 > Product details</ h3 >
23
32
< ul class ="details ">
24
33
< li > Lightweight, durable canvas sneaker</ li >
Original file line number Diff line number Diff line change 71
71
}
72
72
73
73
ul {
74
- margin-left : 18 px ;
74
+ margin-left : 20 px ;
75
75
}
76
76
77
77
.fshi {
95
95
/* height: auto; */
96
96
margin : 50px auto;
97
97
padding : 0 ;
98
+ position : relative;
99
+ }
100
+
101
+ .container ::before {
102
+ position : absolute;
103
+ content : "SALE" ;
104
+ background-color : red;
105
+ color : white;
106
+ padding : 5px ;
107
+ top : -20px ;
108
+ left : -30px ;
109
+ width : 50px ;
110
+ text-align : center;
111
+ letter-spacing : 2px ;
112
+ }
113
+ .color-bars {
114
+ margin-top : 30px ;
115
+ display : block;
116
+ }
117
+
118
+ .color-bar {
119
+ display : inline-block;
120
+ width : 20px ;
121
+ height : 20px ;
122
+ margin-right : 10px ;
123
+ }
124
+
125
+ .color-1 {
126
+ background-color : black;
127
+ }
128
+
129
+ .color-2 {
130
+ background-color : blue;
131
+ }
132
+
133
+ .color-3 {
134
+ background-color : red;
135
+ }
136
+
137
+ .color-4 {
138
+ background-color : yellow;
139
+ }
140
+
141
+ .color-5 {
142
+ background-color : green;
143
+ }
144
+
145
+ .color-6 {
146
+ background-color : cyan;
98
147
}
You can’t perform that action at this time.
0 commit comments