$(document).ready(function(){
$("#img_cont,h3,#txt_right,#dataut,#circle_haut,#read_more,p").mouseover(function(){
$("#txt_right").css({"opacity": "0.9","transition":"1s"});
$("#read_more").css({transform: "scale(1)","transition":"1s"});
$("div#txt_right p").css({transform: "scale(1)","transition":"1s"});
});
$("#img_cont,h3,#txt_right,#dataut,#circle_haut,p").mouseout(function(){
$("#read_more").css({transform: "scale(0)","transition":"1s"});
$("div#txt_right p").css({transform: "scale(0)","transition":"1s"});
$("#txt_right").css({"opacity": "0","transition":"1s"});
});
});
I have a website with (html ,css ,js ,php ,mysql) i have jquery code i put it for the posts , i mean i change the css property and animation for the post (read more,date.....) on hover mouse ,the problem is the code work only in the first post ,if i create a new post it will work only in this latest post ,and when i hover on an other post the code work in the first code thanx in advance and excuse me for my english am not good .