-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbutton.html
More file actions
56 lines (55 loc) · 1.63 KB
/
button.html
File metadata and controls
56 lines (55 loc) · 1.63 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
<!DOCTYPE html>
<html>
<head>
<title>This is for practice</title>
<style>
.subscribe-button{
background-color: rgb(189, 2, 2);
color: white;
border: none;
height: 30px;
width: 100px;
border-radius: 7px;
cursor: pointer;
margin-left: 5px;
margin-right: 6px;
transition: opacity 0.15s;
}
.subscribe-button:hover{
opacity: 0.8;
}
.subscribe-button:active{
opacity: 1;
}
.join-button{
border-color: rgb(65, 65, 230);
color: rgb(65, 65, 230);
border-radius: 2px;
border-style: solid;
font-weight: bold;
width: 80px;
height: 30px;
/* For even height and width we use padding and for moving the buttons left or right we use margin */
cursor: pointer;
transition: background-color 0.14s , color 0.14s;
}
.join-button:hover{
background-color: rgb(65, 65, 230);
color: white;
opacity: 0.8;
box-shadow: 2px 2px 5px rgb(50, 50, 228);
}
.join-button:active{
opacity: 1;
}
</style>
</head>
<body>
<button class="subscribe-button">
SUBSCRIBE
</button>
<button class="join-button">
JOIN
</button>
</body>
</html>