Anne31415 commited on
Commit
12b43bf
·
1 Parent(s): e05d529

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -74,6 +74,15 @@ def cloud_button(label, key=None, color=None, overlap=30):
74
  text-align: center; /* Center the text horizontally and vertically */
75
 
76
  }}
 
 
 
 
 
 
 
 
 
77
  .color-1 .circle {{ background-color: #FFA07A; }}
78
  .color-2 .circle {{ background-color: #FF7F50; }}
79
  .color-3 .circle {{ background-color: #FF6347; }}
 
74
  text-align: center; /* Center the text horizontally and vertically */
75
 
76
  }}
77
+
78
+ /* Add this CSS for the hover effect and shadow */
79
+ .cloud:hover .circle {
80
+ transform: scale(1.1); /* Scale up the circles on hover */
81
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a shadow on hover */
82
+ }
83
+
84
+
85
+
86
  .color-1 .circle {{ background-color: #FFA07A; }}
87
  .color-2 .circle {{ background-color: #FF7F50; }}
88
  .color-3 .circle {{ background-color: #FF6347; }}