Fade a color to white (increasing brightness)

前端 未结 4 1964
温柔的废话
温柔的废话 2021-02-04 18:20

I want to make a text box in .NET \"glow\" yellow, and then \"fade\" to white (basically, by incrementally increasing the brightness). I think Stackoverflow does this after you\

4条回答
  •  情深已故
    2021-02-04 18:46

    You didn't originally specify a technology when I submitted this answer, but here's how you'd do it using jQuery.

    UI/Effects/Highlight.

    $("div").click(function () {
          $(this).effect("highlight", {}, 3000);
    });
    

提交回复
热议问题