javascript 如何获得padding 与margin获取padding方法如下:$(document).ready(function () {var $h1 = $('h1')console.log($h1)$h1.after($('<div&2023-02-28JavaScript180