I need to do a numeric calculation based on CSS properties. However, when I use this to get info:
$(this).css(\'marginBottom\')
it returns
If it's just for "px" you can also use:
$(this).css('marginBottom').slice(0, -2);