-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuttons.html
More file actions
89 lines (81 loc) · 1.85 KB
/
buttons.html
File metadata and controls
89 lines (81 loc) · 1.85 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<style>
.subscribe-button {
/*Backround-color is Property and red is color*/
/*rgb is more precise color*/
/*All max num = 255 is white and 0 is black*/
background-color: rgb(200, 0, 0);
/* color = text color*/
color:white;
border: none;
border-radius: 2px;
cursor: pointer;
margin-right: 8px;
margin-left: 20px;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 16px;
padding-right: 16px;
transition: opacity 0.15s;
vertical-align: top;
/*tranistion makes opacity fade smoothly*/
/*pointer = hand on button*/
/*border-radius = rounded corners*/
/* px = pixels*/
}
/* Hover = pseudo class*/
.subscribe-button:hover{
opacity: 0.8;
}
.subscribe-button:active{
opacity: 0.5;
}
.join-button {
background-color: white;
border-color: rgb(6, 95, 212);
border-style: solid;
border-width: 1px;
color:rgb(41, 118, 211);
border-radius: 2px;
cursor: pointer;
padding-top: 9px;
padding-bottom: 9px;
padding-left: 16px;
padding-right: 16px;
transition: backround-color 0.15s,
color 0.15s;
}
.join-button:hover{
background-color:rgb(6, 95, 212);
color:white;
}
.join-button:active{
opacity: 0.7;
}
.tweet-button {
background-color: rgb(29, 155, 240);
color: white;
border: none;
height: 36px;
width: 74px;
border-radius: 18px;
font-weight: bold;
font-size: 15px;
cursor: pointer;
margin-left: 8px;
vertical-align: top;
}
.tweet-button:hover{
box-shadow:5px 5px 10px rgba(0, 0, 0, 0.15);
transition: box-shadow 0.15s;
}
</style>
<!--Class makes targeted changes to everything in that class-->
<button class ="Subscribe-button">
SUBSCRIBE
</button>
<button class = "join-button">
JOIN
</button>
<button class = "tweet-button">
Tweet
</button>