我想让表单的边框在执行函数时发光。 当调用每 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 库,希望它对你有用:
关于html - 保存时创建发光效果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31650096/