Answers for "jquery get padding of element"

0

jquery get padding of element

var $img = $('img');
var paddT = $img.css('padding-top') + ' ' + $img.css('padding-right') + ' ' + $img.css('padding-bottom') + ' ' + $img.css('padding-left');
Posted by: Guest on April-13-2020

Code answers related to "jquery get padding of element"

Code answers related to "Javascript"

Browse Popular Code Answers by Language