Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get element padding

window.getComputedStyle(element, null).getPropertyValue('padding-left')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #element #padding
ADD COMMENT
Topic
Name
7+9 =