悬停元素时,我尝试更改身体的背景

时间:2019-07-04 20:52:47

标签: css

但是它不起作用

我已经在JavaScript上尝试过,但是代码也无法正常工作

# Window range is 5 units
for i in range(5, len(max_min)):  
    window = max_min.iloc[i-5:i]

    a = window.iloc[0]
    b = window.iloc[1]
    c = window.iloc[2]
    d = window.iloc[3]
    e = window.iloc[4]           
    # IHS
    if c.Price<d.Price and a.Price<c.Price and a.Price<b.Price and a.Price<e.Price and b.Price<e.Price and abs(d.Price-e.Price)<=np.mean([d.Price,e.Price])*0.03:
           patterns1['IHS'].append((window.index[0], window.index[-1]))
return patterns1
patterns1 = find_patterns1(max_min)

我的实际结果没什么,我的预期结果是,当将鼠标悬停在div上时,网页颜色将为#MyHexColor。

0 个答案:

没有答案