Repository navigation
Expand file tree
/
Copy pathLesson 2.html
More file actions
165 lines (140 loc) · 3.77 KB
/
Copy pathLesson 2.html
File metadata and controls
165 lines (140 loc) · 3.77 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!--Lesson 2 = CSS Style-->
<!-- To write css we have to create a new element called a style element called a style element.
by using this element we can write css code in it.-->
<style>
.subcribe-button{ /*button is basically css selector = which element we're targeting*/
background-color : rgb(198, 0, 0); /*background-color is the css property, and red is css value. rgb means how
much amount of red, how much amount of blue and how much amount of green.*/
color : white; /*Attribute used to set the font color*/
border : none; /*for giving the border*/
height: 30px; /*To set the height we have to measure it in px i.e pixel*/
width : 105px;
border-radius: 2px; /*Used to curve the button*/
cursor: pointer; /*Whenever to tell that it is clickable*/
margin-right : 8px; /*Used to make gap between the buttons*/
}
.join-button{
background-color: white;
border-color: rgb(0, 132, 255);
border-style: solid;
border-width: 1px;
color: rgb(0, 132, 255);
height: 30px;
width: 62px;
border-radius: 2px;
cursor: pointer;
}
.tweet-button{
background-color: rgb(0, 132, 255);
border: none;
color: white;
height: 30px;
width: 74px;
border-radius: 100px;
font-weight: bold;
font-size: 15px;
cursor: pointer;
margin-left: 8px;
}
.request-button{
background-color: black;
color: white;
height: 30px;
width: 100px;
border: none;
margin-left: 8px;
cursor:pointer;
}
.add-button{
background-color: rgb(255, 229, 61);
border: none;
border-radius: 60px;
height: 30px;
width: 150px;
margin-left: 8px;
cursor: pointer;
}
.GitHub-button{
background-color: rgb(46, 164, 79);
border: none;
font-weight: bold;
height: 30px;
width: 70px;
border-radius: 5px;
color: white;
margin-left: 8px;
cursor: pointer;
}
.getStarted-button{
background-color: rgb(121, 82, 179);
color: white;
font-weight: bold;
height: 35px;
width: 100px;
border-radius: 2px;
border: none;
margin-top: 8px;
border-radius: 4px;
cursor:pointer;
}
.download-button{
background-color: white;
color: rgb(108, 117, 125);
height: 35px;
width: 100px;
border-radius: 4px;
font-weight: bold;
cursor:pointer;
}
.linkedin-button{
background-color: rgb(10, 102, 194);
color: white;
height: 35px;
width: 200px;
margin-top: 8px;
margin-left: 8px;
border:none;
border-radius: 20px;
font-weight: bold;
cursor:pointer;
}
.save-button{
background-color: white;
color:rgb(10, 102, 194);
border-radius: 20px;
height: 35px;
width: 70px;
border-color: rgb(10, 102, 194);
font-weight: bold;
}
</style>
<button class = "subcribe-button"> <!--Class attributes basically lets us label HTML elements-->
SUBSCRIBE
</button>
<button class = "join-button">
JOIN
</button>
<button class = "tweet-button">
Tweet
</button>
<button class = "request-button">
Request now
</button>
<button class = "add-button">
Add to Cart
</button>
<button class = "GitHub-button">
Sign up
</button>
<button class = "getStarted-button">
Get Started
</button>
<button class = "download-button">
Download
</button>
<button class = "linkedin-button">
Apply on company website
</button>
<button class = "save-button">
Save
</button>