I make a slider for my website, I make 3 pictures in CSS file
code :
.banner1{
background:url(../images/bnr1.png) no-repeat 0px 0px;
background-size:cover;
min-height:650px;
}
.banner2{
background:url(../images/bnr2.jpg) no-repeat 0px 0px;
background-size:cover;
min-height:650px;
}
.banner3{
background:url(../images/bnr3.jpg) no-repeat 0px 0px;
background-size:cover;
min-height:650px;
}
but I want to take the last 3 posts from the database and make them in slider
So, is there any method to make the php code into CSS file ?