I want to change something on my page when some css is added to one element. I tried this:
if ($('.my-slider').css('transform') == 'translate3d(0px, 0px, 0px)') {
console.log('Logged');
}
This is the picture to prove that this inline style is actually on the page: Image with my page source
jQuery plugin "vertical carousel" generating this style. Code for this plugin is above this code, this isn't a problem. Idea is to change something on every style change (transform values are changing), but for some reason, there is nothing logged in the console here... Can someone help me with this?