background-repeat: no-repeat;
background-size: 200% 200%,285% 500%,285% 500%,cover,cover;
background-image: radial-gradient(rgba(255,255,255,.25),rgba(255,255,255,0) 40%),radial-gradient(hsla(44,100%,66%,1) 30%,hsla(338,68%,65%,1),hsla(338,68%,65%,.4) 41%,transparent 52%),radial-gradient(hsla(272,100%,60%,1) 37%,transparent 46%),linear-gradient(155deg,transparent 65%,hsla(142,70%,49%,1) 95%),linear-gradient(45deg,hsla(213,100%,44%,1),hsla(209,100%,53%,1));
background-position: bottom left,109% 68%,109% 68%,center,center;
opacity: .08;
<script>
$(document).ready(function(){
var inProgress=false;
var startFrom=10;
$('#data').scroll(function (){
if( this.scrollTop <= 100 && !inProgress ){
$.ajax({
url:'ajaxlogs.php',
method:'POST',
data:{"startFrom":startFrom},
beforeSend:function(){inProgress=true;
}
}).done(function(data){
data=jQuery.parseJSON(data);
if(data.length>0){
$.each(data, function(index, data){
$(".my_cont").prepend('<p class="ogl">' + data.title + '</p><div class="box">' + data.text + '</div>');
});
inProgress=false;
startFrom +=10;
}
});
}
});
});
var block = document.getElementById("data");
block.scrollTop = 9999;
</script>
<script>
$(document).ready(function(){
var inProgress=false;
var startFrom=10;
var div = $('.my_cont'),
div_sh = $(div)[0].scrollHeight,
div_h = div.height();
$(div).scroll(function(){
if ($(this).scrollTop() >= div_sh - div_h && !inProgress ){
$.ajax({
url:'ajaxlogs.php',
method:'POST',
data:{"startFrom":startFrom},
beforeSend:function(){inProgress=true;
}
}).done(function(data){
data=jQuery.parseJSON(data);
if(data.length>0){
$.each(data, function(index, data){
$(".my_cont").append('<p class="ogl">' + data.title + '</p><div class="box">' + data.text + '</div>');
});
inProgress=false;
startFrom +=10;
}
});
}
});
});
</script>