Skip to content

Commit 58891df

Browse files
authored
Merge pull request #34 from jeet1703/buttonchange
button style changed
2 parents b45b1fc + 5fbe7a8 commit 58891df

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

styles.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,30 @@ header {
1414
border-radius: 20px;
1515
}
1616

17+
header:hover{
18+
box-shadow: 0 0 11px rgba(33,33,33,.2);
19+
}
20+
1721
button{
1822
border-radius: 20px;
23+
transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
1924
}
2025

2126
button:hover{
22-
background-color: rgba(0,0,0,0.1);
27+
background-color: rgba(0, 0, 0, 0.1);
2328
color: white;
29+
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
30+
transform: scale(1.1);
2431
}
2532

2633
/* Styling for the graph element */
2734
#graph {
2835
width: 100%;
2936
height: 400px;
3037
}
38+
#graph:hover{
39+
box-shadow: 0 0 11px rgba(33,33,33,.2);
40+
}
3141

3242
/* Style for the header with a specific class name */
3343
.header-style {

0 commit comments

Comments
 (0)