让 div 出现然后淡出几秒钟的最简单方法是什么?
.fade_div {
visibility: none;
position: fixed;
background-color: yellow;
border: 1px solid black;
top: 300px;
left: 300px
}
<input type="button" value="Add Item" id="mybutton">
<div class="fade_div">Successfully Added!</div>
$('mybutton').click(function(){
$('.fade_div').....
}