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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -24,7 +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
 
29
  def fx1(x):
30
  return f"欢迎练习Gradio, {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='''#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):
32
  return f"欢迎练习Gradio, {x}!"