adapt_num = products.number - 3
def view_paginator_num():
x = 0
pag_num_list = []
for num in paginator.page_range:
if num >= adapt_num and x < 7:
x += 1
pag_num_list += [num]
return pag_num_list
pag_num_list = view_paginator_num()
#start_display {
width: 100px;
height: 100px;
position: fixed;
z-index: -999;
animation-duration: 1s;
animation-name: disappear;
}
@keyframes disappear {
0% {background-color: white;z-index: 999;}
80% {background-color: white;}
99.9% {z-index: 999}
100% {background-color: none;z-index: -999;}
}