Здесь мой fiddle.
Я просто хочу, чтобы "background-image:
" в css полностью загрузился и отобразился через 3 секунды с быстрым постепенным исчезновением, пока весь div не должен быть черного цвета.
Как это возможно в css
или javascript
.
.initials {
position:absolute;
background:black;
background-image: url("http://static.tumblr.com/lxn1yld/Hnxnxaqya/space.gif");
color:white;
margin-top:20px;
padding-top:20px;
padding-bottom:20px;
width:60px;
text-align:center;
margin-left:20px;
font-size:17px;
letter-spacing:5px;
box-shadow:0px 2px 3px rgba(0,0,0,.15);
overflow: hidden;
white-space: nowrap;
}
<div class="initials">A</div>