File tree Expand file tree Collapse file tree 2 files changed +60
-2
lines changed
starter/02-HTML-Fundamentals Expand file tree Collapse file tree 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>
1818 Ready to dress up or down, these classic canvas Chucks are an everyday
1919 wardrobe staple
2020 </ 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 >
2231 < h3 > Product details</ h3 >
2332 < ul class ="details ">
2433 < li > Lightweight, durable canvas sneaker</ li >
Original file line number Diff line number Diff line change 7171}
7272
7373ul {
74- margin-left : 18 px ;
74+ margin-left : 20 px ;
7575}
7676
7777.fshi {
9595 /* height: auto; */
9696 margin : 50px auto;
9797 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;
98147}
You can’t perform that action at this time.
0 commit comments