You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_m is used to set the element's margin. It can set margins for top, right, bottom, and left individually or in combination.
dom._m(10);// Sets margin for all four sides to 10dom._m(10,20);// Sets margin for top and bottom to 10, and for left and right to 20dom._m(10,20,30);// Sets margin for top to 10, left and right to 20, and bottom to 30dom._m(10,20,30,40);// Sets margin for top to 10, right to 20, bottom to 30, and left to 40
_p is used to set the element's padding. It can set padding for top, right, bottom, and left individually or in combination.
dom._p(10);// Sets padding for all four sides to 10dom._p(10,20);// Sets padding for top and bottom to 10, and for left and right to 20dom._p(10,20,30);// Sets padding for top to 10, left and right to 20, and bottom to 30dom._p(10,20,30,40);// Sets padding for top to 10, right to 20, bottom to 30, and left to 40