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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -24,8 +24,9 @@ ht_text='''
24
  <iframe width="800" height="800" frameborder="0" scrolling="no" src="https://dyrscomcn-my.sharepoint.com/personal/huangcaiguang_dyrs_com_cn/_layouts/15/Doc.aspx?sourcedoc={6d3da844-5b54-473b-a32a-08659600d015}&action=embedview&AllowTyping=True&ActiveCell='业绩'!A1&wdInConfigurator=True&wdInConfigurator=True&edesNext=false&ejss=false"></iframe>
25
  '''
26
 
27
- demo = gr.Blocks(css='''#chedan {color: red}
28
- #chedan:hover {background-image: -webkit-gradient(linear, 0% 0%, 0% 95%, from(rgba(255, 255, 255, 0.7)), to(rgba(255, 255, 255, 0)));}
 
29
  ''')
30
 
31
  def fx1(x):
 
24
  <iframe width="800" height="800" frameborder="0" scrolling="no" src="https://dyrscomcn-my.sharepoint.com/personal/huangcaiguang_dyrs_com_cn/_layouts/15/Doc.aspx?sourcedoc={6d3da844-5b54-473b-a32a-08659600d015}&action=embedview&AllowTyping=True&ActiveCell='业绩'!A1&wdInConfigurator=True&wdInConfigurator=True&edesNext=false&ejss=false"></iframe>
25
  '''
26
 
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):