changxin commited on
Commit
6679556
·
1 Parent(s): 0e3f977

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -27,6 +27,7 @@ ht_text='''
27
  demo = gr.Blocks(css='''
28
  #chedan {-webkit-transition-duration: 0.4s; transition-duration: 0.4s;}
29
  #chedan:hover {background-color: #4CAF50; color: white;}
 
30
  ''')
31
 
32
  def fx1(x):
 
27
  demo = gr.Blocks(css='''
28
  #chedan {-webkit-transition-duration: 0.4s; transition-duration: 0.4s;}
29
  #chedan:hover {background-color: #4CAF50; color: white;}
30
+ #chedan:active {background-color: #3e8e41; box-shadow: 0 5px #666; transform: translateY(4px);}
31
  ''')
32
 
33
  def fx1(x):