Some programmers use a technique wherein you create classes for specific style sets, so as well as having a descriptive class such as
.header
.nav-item
etc, you might also add to them
.ml-sm
or
.ml-md
(margin-left small and margin-left medium) which could have different margin sizes for different use cases. Of course these could have multiple styles e.g. color, font-size & line-height. The only downside is the extra HTML markup changes that could be required —
SmokeyPHP 21 secs ago