get padding of element vanilla javacript code example
Example: js get element padding
window.getComputedStyle(element, null).getPropertyValue('padding-left')
window.getComputedStyle(element, null).getPropertyValue('padding-left')