In jQuery I have section where onclick it changes some properties. I was wondering if i could include css transitions into this somehow. I tried to add it in just like I did but that just gave it a property it didn't effect it when it does change.
$("#slide1-1").click(function() {
$('.aboutchange').css('color', '#433792');
});
$("#slide1-2").click(function() {
$('.aboutchange').css('color', 'orange');
});
$("#slide1-3").click(function() {
$('.aboutchange').css('color', 'green');
});
$("#slide1-4").click(function() {
$('.aboutchange').css('color', 'red');
});