File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed
.learn/resets/13-Anchor-Like-Button
exercises/13-Anchor-Like-Button Expand file tree Collapse file tree 3 files changed +20
-1
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 > 13 Anchor Like Button</ title >
8
+ </ head >
9
+ < body >
10
+ < a href ="# " class ="orange-btn "> Beautiful Button</ a >
11
+ </ body >
12
+ </ html >
Original file line number Diff line number Diff line change 6
6
< link rel ="stylesheet " type ="text/css " href ="./styles.css " />
7
7
< title > 13 Anchor Like Button</ title >
8
8
</ head >
9
+
9
10
< body >
10
11
< a href ="# " class ="orange-btn "> Beautiful Button</ a >
11
12
</ body >
Original file line number Diff line number Diff line change 1
1
.orange-btn {
2
- /*your code here*/
2
+ box-sizing : border-box;
3
+ text-decoration : none;
4
+ padding : 10px ;
5
+ border-radius : 4px ;
6
+ background-color : rgb (255 , 196 , 86 );
7
+ color : white;
3
8
}
4
9
5
10
.orange-btn : hover {
6
11
/*YOUR CODE HERE FOR THE HOVER STATE*/
12
+ background-color : rgb (241 , 170 , 37 );
7
13
}
You can’t perform that action at this time.
0 commit comments