Skip to content

Commit 95d48b5

Browse files
committed
exercises13
1 parent 8b8253f commit 95d48b5

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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>
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
.orange-btn {
22
display: inline-block;
3-
/* your code below */
4-
3+
padding: 10px;
4+
border-radius: 4px;
5+
background: orange;
6+
text-decoration: none;
7+
color: white;
58
}
69

710
.orange-btn:hover {
8-
/* YOUR CODE HERE FOR THE HOVER STATE */
9-
11+
display: inline-block;
12+
padding: 10px;
13+
border-radius: 4px;
14+
background: darkorange;
15+
text-decoration: none;
16+
color: white;
1017
}

0 commit comments

Comments
 (0)