Skip to content

Commit e3fe065

Browse files
committed
Anchor Like Button
1 parent 8366855 commit e3fe065

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
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>

exercises/13-Anchor-Like-Button/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<link rel="stylesheet" type="text/css" href="./styles.css" />
77
<title>13 Anchor Like Button</title>
88
</head>
9+
910
<body>
1011
<a href="#" class="orange-btn">Beautiful Button</a>
1112
</body>
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
.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;
38
}
49

510
.orange-btn:hover {
611
/*YOUR CODE HERE FOR THE HOVER STATE*/
12+
background-color: rgb(241, 170, 37);
713
}

0 commit comments

Comments
 (0)