我有两个活动,在这两个活动之间设置了一些动画效果。有一个白色的“闪烁”可以平滑过渡,这很好,但是我在两个活动中都使用了黑色背景。我尝试使用require "path/to/file"
class TestController < ApplicationController
def test_sms
test = Test.new
test.do_something
print @body
end
end
起作用,但使动画看起来糟透了。有没有一种方法可以更改“闪烁”的颜色,使其变为黑色?