html - 保存时创建发光效果

标签 html css angularjs

我想让表单的边框在执行函数时发光。 当调用每 5 秒调用一次的 uptdate 函数时,会发生类似脉冲的事情。只是作为一种显示内容已保存的方式。我怎样才能做到这一点?我查看了很多地方和许多 CSS 属性,但我无法想出可以产生那种效果的东西。我正在使用 AngularJS 和 Bootstrap。

html

<div class=" container col-lg-8" id="right" >
    <div id="delete-button" class="row">
        <a  ng-really-message="Are you sure you want to delete this note?" ng-really-click="deleteNote(note)" class="glyphicon glyphicon-trash " style="float:left;">Delete</a>
    </div>
    <form >
        <div class="row">
            <input id="note-title" type="text"   class="form-control"  ng-model="title" placeholder="Untitled">
            <div>
                <textarea id="note-body" class="form-control fadein" rows="2" cols="25"
                      ng-model="body" placeholder="Write your note here..." ></textarea>
            </div>
        </div>
    </form>
    <div data-fb-like=""></div>
</div>

最佳答案

试试这个 CSS 库,希望它对你有用:

https://daneden.github.io/animate.css/

关于html - 保存时创建发光效果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31650096/

相关文章:

html - 使用 CSS 的光泽效果导航菜单

javascript - 关注页面加载时滚动的元素

css - 移动浏览器中的 Div 宽度调整不均匀

html - 我怎样才能制作一本类似于这本的 HTML 电子书?

AngularJS (1.5) 依赖注入(inject)模型类( typescript )

javascript - 未知提供程序 : $rootElementProvider when using $injector to get $location service before angular. Bootstrap

php - 将表添加到现有的 php/html 表单

javascript - 如何在页面上显示对象数组

html - 将帖子内容分为两栏,一栏固定

angularjs - Freemarker 与 AngularJS