File tree Expand file tree Collapse file tree 5 files changed +32
-5
lines changed
.learn/resets/05-Specificity Expand file tree Collapse file tree 5 files changed +32
-5
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 " />
5+ < meta name ="viewport " content ="width=device-width " />
6+ < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
7+ < title > 05 Specificity</ title >
8+ </ head >
9+ < body >
10+ < ul >
11+ < li > My first item of the list</ li >
12+ < li > My second item of the list</ li >
13+ < li id ="thirditem "> My third item of the list</ li >
14+ < li > My forth item of the list</ li >
15+ < li > My fifth item of the list</ li >
16+ </ ul >
17+ </ body >
18+ </ html >
Original file line number Diff line number Diff line change 1+ ul li {
2+ background : blue;
3+ }
4+
5+ # thirditem {
6+ background : yellow;
7+ }
8+ /****** DON NOT EDIT ANYTHING ABOVE THIS LINE ****/
9+
Original file line number Diff line number Diff line change 88 </ head >
99
1010 < body >
11- < span > I should look like a button</ span >
11+ < span id =" button1 " > I should look like a button</ span >
1212 </ body >
1313</ html >
Original file line number Diff line number Diff line change 11# button1 {
2- background : # BDBDBD ;
3- border : # 5E5E5E ;
4- border-radius : 5px ;
2+ background : # bdbdbd ;
3+ border : # 5e5e5e ;
4+ border-radius : 5px ;
55}
Original file line number Diff line number Diff line change 1010 < ul >
1111 < li > My first item of the list</ li >
1212 < li > My second item of the list</ li >
13- < li id ="thirditem "> My third item of the list</ li >
13+ < li id ="thirditem " > My third item of the list</ li >
1414 < li > My forth item of the list</ li >
1515 < li > My fifth item of the list</ li >
1616 </ ul >
You can’t perform that action at this time.
0 commit comments