Skip to content

Commit 0be1b24

Browse files
Merge pull request #851 from vigneshs55/patch-7
Update button styles.css
2 parents 545a432 + aaaad2f commit 0be1b24

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

DiceGame/styles.css

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,25 @@
3939
font-family: 'Indie Flower', cursive;
4040

4141
}
42-
42+
button {
43+
background-color: #4CAF50;
44+
color: white;
45+
padding: 15px 32px;
46+
text-align: center;
47+
font-size: 16px;
48+
font-weight: bold;
49+
margin-top: 15px;
50+
border: none;
51+
border-radius: 10px;
52+
cursor: pointer;
53+
transition: background-color 0.3s ease;
54+
}
55+
56+
button:hover {
57+
background-color: #45a049;
58+
}
59+
60+
button:active {
61+
transform: scale(0.98);
62+
}
63+

0 commit comments

Comments
 (0)