Programming Tips - jQuery obj.css('padding') isn't working.

Date: 2018sep4 Language: javaScript Library: jquery Q. jQuery obj.css('padding') isn't working. A. Just 'padding' doesn't work, you need to do:
var top = obj.css('padding-top'); var right = obj.css('padding-right'); var bottom = obj.css('padding-bottom'); var left = obj.css('padding-left');