-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbutton_link_08.html
More file actions
58 lines (51 loc) · 1.27 KB
/
button_link_08.html
File metadata and controls
58 lines (51 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Button & Link</title>
<style>
body{
font-family: Arial, Helvetica, sans-serif;
}
/* How to style the link */
a {
color: tomato;
text-decoration: none;
}
/* IF we were to hover and let user know its clickable */
/* Its called estate */
/* a:hover {
color: darkblue;
text-decoration: underline;
font-size: 30px;
}
a:visited{
color: greenyellow;
text-decoration: none;
} */
.btn {
background-color: skyblue;
color:snow;
border: none;
font-size: 16px;
padding: 10px 20px;
border-radius: 10px;
cursor: pointer;
}
.btn:hover{
color: white;
background-color: tomato;
background-color: darkblue;
}
</style>
</head>
<body>
<br>
<a href="#" class="btn">Link</a>
<br>
<br>
<button class="btn">Button</button>
</body>
</html>