File tree Expand file tree Collapse file tree 3 files changed +22
-6
lines changed
.learn/resets/13-Anchor-Like-Button
12-Relative-Length-EM-REM Expand file tree Collapse file tree 3 files changed +22
-6
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
}
7
7
8
8
/* YOUR CODE BELOW THIS LINE */
9
- # my-first-div h2 {
9
+ # my-first-div h2 {
10
10
font-size : 0.8em ;
11
11
}
12
- # my-second-div h2 {
12
+ # my-second-div h2 {
13
13
font-size : 0.8em ;
14
14
}
15
- # my-first-div h3 {
15
+ # my-first-div h3 {
16
16
font-size : 0.8rem ;
17
17
}
18
- # my-second-div h3 {
18
+ # my-second-div h3 {
19
19
font-size : 0.8rem ;
20
20
}
Original file line number Diff line number Diff line change 1
1
.orange-btn {
2
- /*your code here*/
2
+ padding : 10px ;
3
+ border-radius : 4px ;
4
+ background-color : orange;
5
+ text-decoration : none;
6
+ color : white;
3
7
}
4
8
5
9
.orange-btn : hover {
6
- /*YOUR CODE HERE FOR THE HOVER STATE*/
10
+ background-color : darkorange;
7
11
}
You can’t perform that action at this time.
0 commit comments