align-to-sides

This library can be used to dynamically set text alignment for a set of elements based on their position relative to their parent element(s).

alignment-class

This library can be used to dynamically assign an alignment class for a set of elements based on their position relative to their parent element(s).