-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbutton.html
71 lines (65 loc) · 1.37 KB
/
button.html
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
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=z, initial-scale=1.0">
<title>button</title>
<style>
#main{
border: 3px solid black;
text-align: center;
width: 500px;
overflow: auto;
margin: 10px auto;
background-color: beige;
}
a{
text-decoration: none;
border: 2px solid black;
color: rgb(17, 2, 10);
}
#link{
margin: 10px;
border: 2px solid black;
float: left;
box-sizing: border-box;
padding: 1px;
background-color: #8d0d29;
width:73px;
}
#btn{
border: 2px solid black;
box-sizing: border-box;
float: left;
margin: 10px;
padding: 2px;
background-color: pink;
color: #8d0d29;
cursor: pointer;
}
#link:hover{
/*color: #2fc950;*/
background-color: rgb(226, 80, 80);
}
#btn:hover
{
color: black;
background-color: rgb(226, 80, 80);
};
#link:visited
{
background-color: #c8a284;
}
</style>
</head>
<body>
<div id="main" class="container">
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Omnis asperiores consequuntur explicabo distinctio rem neque officia qui? Corrupti, ea quis?
</p>
<a href="https://"www.google.com" id="link">about</a>
<button id="btn">contact us</button>
</div>
</body>
</html>