Here is my code thus far:
$(document).ready(function(){
$(".KD").click(function(){
$("p").load('KD.html');
$(".video").load('KDVideo.html');
$(".synopsis-change").toggleClass("synopsis");
$(".synopsis").toggleClass("synopsis-change");
});
});
It seems to work with multiple clicks, but I'm having trouble getting it to work with only one. Do u know what am I doing wrong? Thank you for your support. :-)
Here is the css:
synopsis {
font-size: 2px;
-webkit-transition: font-size 10s ease;
}
.synopsis-change {
font-size: 18px;
}