Skip to content

Commit 315cd26

Browse files
committed
change button UI
1 parent 5355051 commit 315cd26

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"liveServer.settings.port": 5501
3+
}

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h1 style="text-align: center">Steps to be followed</h1>
126126
<br />
127127
<div style="text-align: center">
128128

129-
<button type="button" name="button" id="button" ><a
129+
<button type="button" name="button" id="button" class="btn" ><a
130130
href="https://github.com/rakshit234/HacktoberFest2020"
131131
target="_blank"
132132
>Link to code.</a

style.css

+9-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@ h1 {
99
font-size: 80px;
1010
color: #da47cc;
1111
}
12-
12+
.btn {
13+
color: #cc68b0;
14+
border: 1px solid gray;
15+
margin: 14px 0px;
16+
padding: 10px 10px;
17+
border-radius: 4px;
18+
background-color: rgb(9 33 55);
19+
}
1320
h2 {
1421
background-color: #004992;
1522
text-align: center;
@@ -39,7 +46,7 @@ a {
3946
}
4047

4148
a:hover {
42-
color: yellow;
49+
color: #fff;
4350
text-decoration: none;
4451
}
4552
.list-style{

0 commit comments

Comments
 (0)