<script type="text/javascript">
setTimeout(function(){$('.Тут див').fadeOut('fast')},4000);
</script>
@keyframes fade {
from {
opacity: 1;
visibility: visible;
}
to {
opacity: 0;
visibility: hidden;
}
}
.element {
animation: fade 3s ease forwards;
width: 50px;
height: 50px;
background: green;
}
@keyframes fade {
from {
opacity: 1;
visibility: visible;
}
to {
opacity: 0;
visibility: hidden;
}
}
.element {
animation: fade 3s ease forwards;
width: 50px;
height: 50px;
background: green;
}