Over the last couple years a few new padding and margin properties have been added to the browsers. These new properties are intended to become future replacements for the old approach to margin and padding. These new methods work well with multi-lingual support for languages that are written in directions other than left to right.
Code from video: https://gist.github.com/prof3ssorSt3v3/3dd3f10b3cfc230e82bda3dbeb32d14c