I cant animate the :after
of my ul. Here is the code in css:
#slider .mypagination ul::after
{
content: "";
width:25%;
bottom: 0;
left:0;
position: absolute;
border-top:1px solid #7accc8;
transition:0.3s;
}
and this is my jquery codes
$(".mypagination li").click(function(){
$("#slider .mypagination ul:after").css({
"left":"100px"
},300);
})
the click is working. i test it using console.log("click")
.
Can anyone help me...